Aayush Gupta
1f3cea116c
DownloadWorker: Drop non-required check for authdata validity
...
The parent worker (AuthWorker) already does the required verification
and refresh the AuthData if expired. It will never be expired in this
case.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-03-13 12:23:56 +08:00
Aayush Gupta
7c2e9dc399
DownloadWorker: Drop non-required check for nullable packageName
...
packageName will never be null as App() constructor enforces specifiying
packageName atleast similar to Download() class.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-03-13 12:23:04 +08:00
Aayush Gupta
2a2a0930c4
fixup! Audit DownloadHelper & UpdateHelper scopes
...
Move back both UpdateHelper and DownloadHelper to mainscope as they
are only for observing changes to the data and don't need to be run
on a IO dispatcher
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-03-12 16:08:46 +08:00
Aayush Gupta
38f6bb77fe
app: Remove deleted translations
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-03-10 14:03:27 +08:00
Rahul Patel
8053d1f3bc
Downloadworker: fix notification issue
2025-03-07 20:23:45 +05:30
Rahul Patel
89f45f13d5
reformat files recently touched
2025-03-07 18:26:04 +05:30
Rahul Patel
585284fb10
improve microG account login & token refresh logic
2025-03-07 18:26:04 +05:30
Aayush Gupta
0ead570a70
Optimize imports treewide
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-03-07 18:26:04 +05:30
Rahul Patel
991b974920
MainScope = SupervisorJob() + Dispatchers.Main
...
-- Kaiko chhedta hai re baba!
2025-03-07 18:26:04 +05:30
Rahul Patel
b24eafea7a
Audit DownloadHelper & UpdateHelper scopes
...
Action Items:
- monitor changes for ~3days, do self-test to ensure it doesn't break anything
- also verify changes on older devices & other android skins MIUI, OneUI, EMUI
2025-03-07 18:26:04 +05:30
Rahul Patel
33462d772a
PermissionProvider: cleanup
2025-03-07 18:25:51 +05:30
Rahul Patel
50b32101af
NotificationUtil: update download cancel intent
2025-03-07 18:24:10 +05:30
Rahul Patel
e958a84a33
DownloadWorker: improve download interrupt scene
...
- if user cancels download, purge downloaded APKS + temps
- if download is interrupted, say due to network or space constraint, retain downloads & inform failure
TODO:
- add retry/resume download option
2025-03-07 18:24:10 +05:30
Rahul Patel
330762d86d
DownloadWorker: more work
2025-03-07 18:24:10 +05:30
Rahul Patel
46d4322976
DownloadWorker: simplify & improve code [2/2]
2025-03-07 18:24:10 +05:30
Rahul Patel
667017aec6
DownloadWorker: simplify & improve code [1/2]
...
TODO:
- Reduce notification frequency, create too many notifications resulting in notification actions being inaccesible.
- Its a bad practive to bombard system with notification redraws
2025-03-07 18:24:10 +05:30
Aayush Gupta
3d8706da0b
fixup! NetworkProvider: improvements + workaround for Android L
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-03-07 18:24:10 +05:30
Rahul Patel
9561f617d7
DownloadWorker: minor notification tweak
2025-03-07 18:24:10 +05:30
Rahul Patel
8af3fde374
DownloadWorker: improve file verification
2025-03-07 18:24:10 +05:30
Rahul Patel
b867d4a527
DownloadWorker: fix download status misinformation
...
-- cancellation ≠ failure
-- report cause of other failures
2025-03-07 18:24:10 +05:30
Rahul Patel
41a4db751c
NetworkProvider: improvements + workaround for Android L
2025-03-07 18:24:10 +05:30
Rahul Patel
76b6551247
SessionInstaller: minor improvements
...
-- also fixes https://gitlab.com/AuroraOSS/AuroraStore/-/issues/1151
2025-03-07 18:24:10 +05:30
Rahul Patel
49d6c95405
navigation: add missing action
...
-- without this an action from searchbar to search result page results in crash
java.lang.IllegalArgumentException: Navigation action/destination com.aurora.store.debug:id/action_searchSuggestionFragment_to_searchResultsFragment cannot be found from the current destination Destination(com.aurora.store.debug:id/searchResultsFragment) label=Search results class=com.aurora.store.view.ui.search.SearchResultsFragment
2025-03-07 18:24:10 +05:30
Aayush Gupta
4fb38e8361
store: Switch to kotlin extension method for converting String to Uri
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-03-06 17:50:58 +05:30
Aayush Gupta
0830b38b66
Merge branch 'weblate-aurora-store-aurorastore-translations' into 'master'
...
Translations update from Hosted Weblate
See merge request AuroraOSS/AuroraStore!449
2025-03-06 09:36:27 +05:30
LucasMZ
3d4f6b7b4c
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (441 of 441 strings)
Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/pt_BR/
2025-03-06 02:19:57 +01:00
Sasha Glazko
e164deb856
Translated using Weblate (Belarusian)
...
Currently translated at 100.0% (441 of 441 strings)
Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/be/
2025-03-05 16:08:35 +01:00
Sasha Glazko
7246da035e
Translated using Weblate (Belarusian)
...
Currently translated at 90.0% (397 of 441 strings)
Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/be/
2025-03-05 15:03:00 +01:00
Sasha Glazko
6aed8247d1
Translated using Weblate (Belarusian)
...
Currently translated at 88.8% (392 of 441 strings)
Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/be/
2025-03-05 15:03:00 +01:00
Sasha Glazko
9055ffbb1a
Translated using Weblate (Belarusian)
...
Currently translated at 88.6% (391 of 441 strings)
Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/be/
2025-03-05 15:02:59 +01:00
UserPro
040f7bcd92
Translated using Weblate (Russian)
...
Currently translated at 93.1% (27 of 29 strings)
Translation: Aurora Store/Fastlane
Translate-URL: https://hosted.weblate.org/projects/aurora-store/fastlane/ru/
2025-03-05 15:02:58 +01:00
Sasha Glazko
5322a4639b
Translated using Weblate (Belarusian)
...
Currently translated at 88.6% (391 of 441 strings)
Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/be/
2025-03-05 15:02:57 +01:00
Joonas Reinholm
cdb8391b18
Translated using Weblate (Finnish)
...
Currently translated at 100.0% (441 of 441 strings)
Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/fi/
2025-03-05 15:02:56 +01:00
A. Wang
03ef793119
Translated using Weblate (Chinese (Traditional Han script))
...
Currently translated at 92.5% (408 of 441 strings)
Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/zh_Hant/
2025-03-05 15:02:56 +01:00
Aayush Gupta
e17c78e107
PackageUtil: Capture all exceptions when checking archived status
...
Packages can be hidden using DevicePolicyManager leading to getArchivedPackage
throwing IllegalArgumentException.
Ref: https://developer.android.com/reference/android/app/admin/DevicePolicyManager.html#setApplicationHidden(android.content.ComponentName,%20java.lang.String,%20boolean)
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-03-05 18:07:55 +05:30
Aayush Gupta
dcb2976004
libs: Bump to latest stable AGP, Gradle and dependencies
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-03-05 16:58:41 +05:30
Rahul Patel
fc6851519a
Merge branch 'weblate-aurora-store-aurorastore-translations' into 'master'
...
Translations update from Hosted Weblate
See merge request AuroraOSS/AuroraStore!446
2025-02-28 15:45:48 +00:00
Sasha Glazko
515bb36bd1
Translated using Weblate (Belarusian)
...
Currently translated at 88.4% (390 of 441 strings)
Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/be/
2025-02-28 16:41:49 +01:00
Sasha Glazko
3d8b62b508
Translated using Weblate (Belarusian)
...
Currently translated at 88.4% (390 of 441 strings)
Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/be/
2025-02-27 22:20:10 +01:00
ProximusXXX
b4cdb9b252
Translated using Weblate (Slovenian)
...
Currently translated at 100.0% (441 of 441 strings)
Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/sl/
2025-02-27 22:20:10 +01:00
Milo Ivir
e972c1cbf0
Translated using Weblate (Croatian)
...
Currently translated at 100.0% (441 of 441 strings)
Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/hr/
2025-02-25 16:13:50 +01:00
Milo Ivir
96930da41b
Translated using Weblate (Croatian)
...
Currently translated at 99.5% (439 of 441 strings)
Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/hr/
2025-02-25 16:00:03 +01:00
Sasha Glazko
5b78e32453
Translated using Weblate (Belarusian)
...
Currently translated at 88.2% (389 of 441 strings)
Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/be/
2025-02-25 14:43:19 +01:00
Sasha Glazko
39d05a4185
Translated using Weblate (Belarusian)
...
Currently translated at 88.2% (389 of 441 strings)
Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/be/
2025-02-25 14:15:49 +01:00
Sasha Glazko
6840e35d28
Translated using Weblate (Belarusian)
...
Currently translated at 88.4% (390 of 441 strings)
Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/be/
2025-02-25 13:57:47 +01:00
Sasha Glazko
965da9fd01
Translated using Weblate (Belarusian)
...
Currently translated at 88.4% (390 of 441 strings)
Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/be/
2025-02-25 13:55:40 +01:00
Sasha Glazko
d3a8464573
Translated using Weblate (Belarusian)
...
Currently translated at 88.4% (390 of 441 strings)
Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/be/
2025-02-25 13:41:34 +01:00
Andrey
fa2981c0a6
Translated using Weblate (Russian)
...
Currently translated at 100.0% (441 of 441 strings)
Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/ru/
2025-02-24 19:16:57 +01:00
Andrey
8cfcc14240
Translated using Weblate (Russian)
...
Currently translated at 97.9% (432 of 441 strings)
Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/ru/
2025-02-24 19:03:01 +01:00
Mato
ec309a6741
Translated using Weblate (Slovak)
...
Currently translated at 100.0% (441 of 441 strings)
Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/sk/
2025-02-24 12:38:30 +01:00