Commit Graph

2386 Commits

Author SHA1 Message Date
Aayush Gupta
14c8da2db5 DownloadWorker: Move app installation logic to new onSuccess method
Move app installation logic to onSuccess method in worker under a NonCancellable
context and convert the receiver class to be a generic status handler for anything
except success which should be handled in PackageManagerReceiver.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-27 21:15:00 +05:30
Aayush Gupta
763bf45a70 gradle: Drop dependency upon unused libraries
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-27 21:15:00 +05:30
Aayush Gupta
396a3659fb gradle: Drop jcenter from repositories
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-27 21:15:00 +05:30
Aayush Gupta
e9080614af Drop dependency upon Fetch2 library
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-27 21:15:00 +05:30
Aayush Gupta
a796c4c381 SelfUpdateWorker: Move self-updates logic into dedicated worker
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-27 21:15:00 +05:30
Aayush Gupta
59309783b1 UpdatesPreference: Setup auto-updates
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-27 21:15:00 +05:30
Aayush Gupta
97b145e2e5 DownloadWorker: Download required shared libs for apps
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-27 21:15:00 +05:30
Aayush Gupta
231d39867b Merge branch 'weblate-aurora-store-aurorastore-translations' into 'master'
Translations update from Hosted Weblate

See merge request AuroraOSS/AuroraStore!275
2023-12-27 11:50:23 +00:00
Software In Interlingua
8737999454 Translated using Weblate (Interlingua)
Currently translated at 40.5% (155 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/ia/
2023-12-27 12:13:16 +01:00
Software In Interlingua
f7dac22e53 Translated using Weblate (Interlingua)
Currently translated at 33.5% (128 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/ia/
2023-12-25 14:45:55 +01:00
Software In Interlingua
dd9481e357 Translated using Weblate (Interlingua)
Currently translated at 27.2% (104 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/ia/
2023-12-25 14:45:55 +01:00
Aayush Gupta
fbc31ff2ff gradle: Bump dependencies to latest stable release
Skip dagger-hilt 2.50 as release notes mention of potential breaking change.
We will upgrade the next major version.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-25 14:25:17 +05:30
Aayush Gupta
d15a82cde0 Merge branch 'weblate-aurora-store-aurorastore-translations' into 'master'
Translations update from Hosted Weblate

See merge request AuroraOSS/AuroraStore!274
2023-12-22 08:40:57 +00:00
Andrey
2dacff3dc4 Translated using Weblate (Russian)
Currently translated at 100.0% (382 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/ru/
2023-12-22 00:20:33 +01:00
Andrey
849ade0429 Translated using Weblate (Russian)
Currently translated at 100.0% (382 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/ru/
2023-12-21 12:55:14 +01:00
ssantos
4141cede5b Translated using Weblate (Portuguese)
Currently translated at 100.0% (17 of 17 strings)

Translation: Aurora Store/Fastlane
Translate-URL: https://hosted.weblate.org/projects/aurora-store/fastlane/pt/
2023-12-21 12:55:14 +01:00
bittin1ddc447d824349b2
97360e1fe4 Translated using Weblate (Swedish)
Currently translated at 99.2% (379 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/sv/
2023-12-21 12:55:13 +01:00
ssantos
751a8dab17 Translated using Weblate (Portuguese)
Currently translated at 100.0% (382 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/pt/
2023-12-21 12:55:13 +01:00
v1s7
0fdbce7150 Translated using Weblate (Russian)
Currently translated at 100.0% (382 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/ru/
2023-12-21 12:55:13 +01:00
Aayush Gupta
e915c5060b DownloadWorker: Address race condition on download complete
Sometimes when download gets completed, the progress hasn't been updated which
results in no notification data and downloads showing status as completed with
a progress less than 100%.

Set progress manually to 100% and avoid checking progress in notificationUtil if
download has succeded. Also avoid calling onProgress again if download has finished.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-20 21:07:54 +05:30
Aayush Gupta
010dde2896 values-{in|id}: Switch locale code for indonesia
Android otherwise cannot see the translations and continues to use english

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-19 11:36:14 +05:30
Aayush Gupta
03a5ea7a7f Merge branch 'weblate-aurora-store-aurorastore-translations' into 'master'
Translations update from Hosted Weblate

See merge request AuroraOSS/AuroraStore!273
2023-12-19 05:31:51 +00:00
ssantos
c20533d281 Translated using Weblate (Portuguese)
Currently translated at 88.2% (15 of 17 strings)

Translation: Aurora Store/Fastlane
Translate-URL: https://hosted.weblate.org/projects/aurora-store/fastlane/pt/
2023-12-19 05:20:18 +01:00
NEXI
7d922ab5d1 Translated using Weblate (Serbian)
Currently translated at 100.0% (382 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/sr/
2023-12-19 05:20:18 +01:00
ssantos
58f43d539e Translated using Weblate (Portuguese)
Currently translated at 99.7% (381 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/pt/
2023-12-19 05:20:18 +01:00
Bandit0s
6089d67c7a Translated using Weblate (Finnish)
Currently translated at 92.6% (354 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/fi/
2023-12-19 05:20:18 +01:00
Rex_sa
e335270a8f Translated using Weblate (Arabic)
Currently translated at 100.0% (382 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/ar/
2023-12-19 05:20:18 +01:00
VfBFan
d2fa669ddf Translated using Weblate (German)
Currently translated at 100.0% (382 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/de/
2023-12-19 05:20:18 +01:00
Kryštof Černý
cf9d6ba3ca Translated using Weblate (Czech)
Currently translated at 100.0% (382 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/cs/
2023-12-19 05:20:18 +01:00
Eric
cfd353b835 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (382 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/zh_Hans/
2023-12-19 05:20:18 +01:00
Aayush Gupta
a3c4df37be values-v21: Set default statusBarColor to colorScrimAlt
Simple and best fix

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-18 23:28:30 +05:30
Aayush Gupta
691a3c61a4 PathUtil: Switch to File instead of Path class
Path is only available since Android 8.0+ and it makes no sense to
add a dependency upon desugaring lib for it.

Switch to File class instead which is available on all Android versions

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-18 23:28:30 +05:30
Aayush Gupta
cd8c4c1364 DownloadWorker: Use a generic download notification if required
On old android versions, work manager runs expedited jobs using FGS which
seem to require a work notification as soon as the service starts by automatically
calling getForegroundInfo method.

This causes an exception as we haven't parsed the data yet. Use a generic
download notification for such cases.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-18 23:28:30 +05:30
Aayush Gupta
70cfdbafd8 DownloadWorker: Inject Gson's instance using Hilt
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-18 23:28:30 +05:30
Aayush Gupta
8f518d026a fixup! Fix AuroraOSS/AuroraStore#981 allow Sui without Shizuku app
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-18 23:28:30 +05:30
Aayush Gupta
db609d9e81 Merge branch 'weblate-aurora-store-aurorastore-translations' into 'master'
Translations update from Hosted Weblate

See merge request AuroraOSS/AuroraStore!272
2023-12-18 06:02:57 +00:00
Ihor Hordiichuk
06a966d4ef Translated using Weblate (Ukrainian)
Currently translated at 100.0% (382 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/uk/
2023-12-18 06:58:43 +01:00
Fjuro
e3a3519a71 Translated using Weblate (Czech)
Currently translated at 100.0% (382 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/cs/
2023-12-18 06:58:43 +01:00
Danr
94c083198f Translated using Weblate (Indonesian)
Currently translated at 99.7% (381 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/id/
2023-12-18 06:58:42 +01:00
Oğuz Ersen
9142e29468 Translated using Weblate (Turkish)
Currently translated at 100.0% (382 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/tr/
2023-12-18 06:58:42 +01:00
Mirosław Żylewicz
087250e191 Translated using Weblate (Polish)
Currently translated at 100.0% (382 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/pl/
2023-12-18 06:58:42 +01:00
ShareASmile
adfe17ce55 Translated using Weblate (Punjabi)
Currently translated at 100.0% (382 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/pa/
2023-12-18 06:58:42 +01:00
Bandit0s
0ad819cc61 Translated using Weblate (Finnish)
Currently translated at 91.6% (350 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/fi/
2023-12-18 06:58:42 +01:00
joaooliva
6304393acc Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (382 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/pt_BR/
2023-12-18 06:58:41 +01:00
Ameen Shokoya
031fec8421 Translated using Weblate (Spanish)
Currently translated at 100.0% (382 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/es/
2023-12-18 06:58:41 +01:00
John Doe
1cd5eaa68e Translated using Weblate (Spanish)
Currently translated at 100.0% (382 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/es/
2023-12-18 06:58:41 +01:00
ShareASmile
e9e92a74ee Translated using Weblate (Hindi)
Currently translated at 100.0% (382 of 382 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/hi/
2023-12-18 06:58:41 +01:00
Aayush Gupta
afef8d1233 proguard-rules: Keep all parcelable classes
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-14 18:38:16 +05:30
Aayush Gupta
ea0bce8c79 fixup! Import and setup Hilt for dependency injection
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-14 18:26:19 +05:30
Aayush Gupta
c7c35da492 DownloadWorkerUtil: Only trigger downloads if app is in foreground
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-14 18:26:19 +05:30