Commit Graph

2936 Commits

Author SHA1 Message Date
Aayush Gupta
72ae9f5ec0 DevProfileFragment: Drop unused authData variable
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-05-08 14:53:10 +05:30
Aayush Gupta
6cba36f2e3 Drop unused preferences and variables
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-05-08 14:51:10 +05:30
Aayush Gupta
a38d2dca46 InstallationPreference: Use checks from AppInstaller class instead
No need to duplicate same code

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-05-08 14:37:08 +05:30
Aayush Gupta
8360274841 installer: Inject all installers using hilt
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-05-08 14:33:25 +05:30
Syuugo
81b0fa9533 DeviceOwnerReceiver: Add Japansese translate 2024-05-07 18:06:03 +05:30
Aayush Gupta
933b7b6886 DeviceOwnerReceiver: Add minimal support for device owner API
SessionInstaller can commit silent installs if the app is device owner. Implemented on
request of users.

This still needs user to set the app as device owner manually using ADB (only possible
if the device has no accounts setup yet).

Co-authored-by: Syuugo <pub@s1204.me>
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-05-07 13:21:23 +05:30
Aayush Gupta
00532f200e DownloadWorker: Better handle individual file progress updates
* Don't filter InputStream updates as we are already guarding UI updates against total progress
* Update downloadedBytes based on bytesCopied to reflect real progress
* Use collect instead of collectLatest to ensure all updates from flow are handled

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-05-06 13:01:05 +05:30
Aayush Gupta
855bb1dbc8 Merge branch 'weblate-aurora-store-aurorastore-translations' into 'master'
Translations update from Hosted Weblate

See merge request AuroraOSS/AuroraStore!317
2024-05-05 12:44:55 +00:00
Andrey
c9719baac5 Translated using Weblate (Russian)
Currently translated at 100.0% (408 of 408 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/ru/
2024-05-05 14:23:02 +02:00
v1s7
962466372a Translated using Weblate (Russian)
Currently translated at 100.0% (408 of 408 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/ru/
2024-05-05 11:03:08 +02:00
ΣΤΑΥΡΟΣ ΔΑΛΙΑΚΟΠΟΥΛΟΣ
397096cb1a Translated using Weblate (Greek)
Currently translated at 18.1% (4 of 22 strings)

Translation: Aurora Store/Fastlane
Translate-URL: https://hosted.weblate.org/projects/aurora-store/fastlane/el/
2024-05-05 09:07:36 +02:00
Besnik Bleta
d4c2875bc3 Translated using Weblate (Albanian)
Currently translated at 99.5% (406 of 408 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/sq/
2024-05-05 09:07:36 +02:00
Сергій
306bc7b797 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (408 of 408 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/uk/
2024-05-05 09:07:35 +02:00
Fjuro
354bcdc089 Translated using Weblate (Czech)
Currently translated at 100.0% (408 of 408 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/cs/
2024-05-05 09:07:34 +02:00
ΣΤΑΥΡΟΣ ΔΑΛΙΑΚΟΠΟΥΛΟΣ
50bf265e3c Translated using Weblate (Greek)
Currently translated at 100.0% (408 of 408 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/el/
2024-05-05 09:07:34 +02:00
Mirosław Żylewicz
3043b7dfb6 Translated using Weblate (Polish)
Currently translated at 100.0% (408 of 408 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/pl/
2024-05-05 09:07:33 +02:00
lucasmz-dev
ec932f85b0 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (408 of 408 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/pt_BR/
2024-05-05 09:07:32 +02:00
Scrambled777
9f4e26cdfb Translated using Weblate (Hindi)
Currently translated at 100.0% (408 of 408 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/hi/
2024-05-05 09:07:32 +02:00
Aayush Gupta
1b3554e695 ServiceInstaller: Run post-installation steps on Aurora Services too
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-05-04 17:01:50 +05:30
Aayush Gupta
f98c2ba5fd NativeInstaller: Start activity on UI thread
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-05-04 14:48:01 +05:30
Aayush Gupta
8f4995221a Move post-installation steps to AppInstaller class
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-05-04 14:48:01 +05:30
Aayush Gupta
f7667c17aa NotificationUtil: Load install notification icon from package locally
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-05-04 13:32:33 +05:30
Aayush Gupta
43e11dac88 InstallerService: Drop unused installer service class
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-05-04 13:32:33 +05:30
Aayush Gupta
a5c967ba3e Merge branch 'weblate-aurora-store-aurorastore-translations' into 'master'
Translations update from Hosted Weblate

See merge request AuroraOSS/AuroraStore!316
2024-05-04 07:11:00 +00:00
NEXI
5819091780 Translated using Weblate (Serbian)
Currently translated at 100.0% (408 of 408 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/sr/
2024-05-04 08:11:22 +02:00
大王叫我来巡山
20a271edb9 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (408 of 408 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/zh_Hans/
2024-05-04 08:11:21 +02:00
Rex_sa
b5b9efbf81 Translated using Weblate (Arabic)
Currently translated at 100.0% (408 of 408 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/ar/
2024-05-04 08:11:21 +02:00
Ingo Brückl
48ff5fed26 Translated using Weblate (German)
Currently translated at 96.5% (394 of 408 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/de/
2024-05-04 08:11:20 +02:00
Oğuz Ersen
96b8951e21 Translated using Weblate (Turkish)
Currently translated at 100.0% (408 of 408 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/tr/
2024-05-04 08:11:20 +02:00
VfBFan
0b7e48956c Translated using Weblate (German)
Currently translated at 96.5% (394 of 408 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/de/
2024-05-04 08:11:19 +02:00
gallegonovato
0daf96b373 Translated using Weblate (Spanish)
Currently translated at 100.0% (408 of 408 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/es/
2024-05-04 08:11:18 +02:00
Anonymous
f30ebbb8a8 Translated using Weblate (Esperanto)
Currently translated at 41.6% (170 of 408 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/eo/
2024-05-04 08:11:18 +02:00
tabby
b7643b3ea1 Translated using Weblate (Korean)
Currently translated at 100.0% (22 of 22 strings)

Translation: Aurora Store/Fastlane
Translate-URL: https://hosted.weblate.org/projects/aurora-store/fastlane/ko/
2024-05-04 08:11:17 +02:00
Igor Sorocean
bf43452792 Translated using Weblate (Romanian)
Currently translated at 100.0% (406 of 406 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/ro/
2024-05-04 08:11:17 +02:00
Aayush Gupta
8b1830d5d5 fixup! SessionInstaller: Open write sessions with packageName only
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-05-04 11:38:15 +05:30
Aayush Gupta
0fd597b3c8 strings: Reword download preference summary for APK deletion
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-05-02 20:12:39 +05:30
Aayush Gupta
58e615befb DownloadWorkerUtil: Also delete old download directories when clearing downloads
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-05-02 20:12:39 +05:30
Aayush Gupta
68733e1ec1 DownloadPreference: Add a worker to regularly clear downloads cache
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-05-02 20:12:39 +05:30
Aayush Gupta
43e63a9452 InstallActivity: Unregister session callback onDestroy
Also finish activity if a valid download is not present

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-05-02 14:27:15 +05:30
Aayush Gupta
65fc2a2dbd SessionInstaller: Open write sessions with packageName only
This allows to open same sessions multiple times when required untill it's
abandoned. Also specifiy file length as it is known.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-05-02 13:24:33 +05:30
Aayush Gupta
a75838a57d AuroraApp: Switch from GlobalScope to MainScope
Use MainScope instead of GlobalScope managed in the application class

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-05-02 12:22:06 +05:30
Aayush Gupta
e142e4f00d Bump AGP and dependencies to latest stable releases
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-05-01 22:56:47 +05:30
Aayush Gupta
4a109fa164 DownloadFragment: Display downloads in reversed order
Latest downloads should always be on top to allow users to easily manage them.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-04-30 18:37:37 +05:30
Aayush Gupta
b76eb75e4e Merge branch 'weblate-aurora-store-aurorastore-translations' into 'master'
Translations update from Hosted Weblate

See merge request AuroraOSS/AuroraStore!314
2024-04-30 07:18:57 +00:00
Edgars Andersons
7ebced28e5 Translated using Weblate (Latvian)
Currently translated at 100.0% (406 of 406 strings)

Co-authored-by: Edgars Andersons <Edgars+Weblate@gaitenis.id.lv>
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/lv/
Translation: Aurora Store/Android
2024-04-29 19:54:07 +02:00
winver
18d8c4c886 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (406 of 406 strings)

Co-authored-by: winver <kirillstuzhuk@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/uk/
Translation: Aurora Store/Android
2024-04-29 19:54:06 +02:00
Сергій
39697e780f Translated using Weblate (Ukrainian)
Currently translated at 100.0% (22 of 22 strings)

Co-authored-by: Сергій <sergiy.goncharuk.1@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/aurora-store/fastlane/uk/
Translation: Aurora Store/Fastlane
2024-04-29 19:54:05 +02:00
jonnysemon
98fd304476 Translated using Weblate (Arabic)
Currently translated at 100.0% (22 of 22 strings)

Co-authored-by: jonnysemon <jonnysemon@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/aurora-store/fastlane/ar/
Translation: Aurora Store/Fastlane
2024-04-29 19:54:04 +02:00
NEXI
b76f3b0faa Translated using Weblate (Serbian)
Currently translated at 100.0% (406 of 406 strings)

Co-authored-by: NEXI <nexiphotographer@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/sr/
Translation: Aurora Store/Android
2024-04-29 19:54:03 +02:00
Mirosław Żylewicz
e264c5405a Translated using Weblate (Polish)
Currently translated at 100.0% (406 of 406 strings)

Co-authored-by: Mirosław Żylewicz <miroslaw.zylewicz@o2.pl>
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/pl/
Translation: Aurora Store/Android
2024-04-29 19:54:02 +02:00