Commit Graph

5148 Commits

Author SHA1 Message Date
Aayush Gupta
0b07c3cecb [LeakCanary] Fragment: Explicity set viewpager2 adapter to null
* Also use viewLifecycleOwner to get lifecycle

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-20 17:24:04 +05:30
Aayush Gupta
3a27fa719b ui: sheets: Use BottomSheetDialogFragment directly
We don't need base class anymore. Also use view binding the recommended
way for fragments.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-20 17:24:04 +05:30
Aayush Gupta
5cf7fa6b3c Fragment: Multiple improvements to fragments
* Use viewModels method to get ViewModel instances
* Use view binding as recommended for fragments
* Mark possible variables as private and val

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-20 17:24:04 +05:30
Aayush Gupta
c3bae480c4 ViewModel: Switch to Hilt for accessing application context
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-20 17:24:04 +05:30
Aayush Gupta
13a88afa09 AppUtil: Move installed and updatable app logic to separate class
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-19 18:55:08 +05:30
Aayush Gupta
e6e00fd844 strings: Update onboarding permission description for storage
We now only need storage manager for downloading OBB files

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-19 11:13:26 +05:30
Aayush Gupta
d030a7ac2e Respect battery optimization setting when auto-updating
* Don't enable auto-install for updates if battery optimization permission
  is not granted during onboarding.
* Drop showing warning in toolbar, show it instead if they want auto-install
* Don't check for the same during downloads. Failing is better instead.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-18 22:01:38 +05:30
Aayush Gupta
c72b860b4d Supress deprecation warning for compat methods
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-18 15:32:54 +05:30
Aayush Gupta
e126848880 Bump androidx.browser to 1.8.0
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-18 13:40:34 +05:30
Fjuro
93c55b9d42 Translated using Weblate (Czech)
Currently translated at 100.0% (381 of 381 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/cs/
2024-03-16 22:03:48 +01:00
XiaoPanPanKevinPan
f491d708b1 Translated using Weblate (Chinese (Traditional))
Currently translated at 99.7% (380 of 381 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/zh_Hant/
2024-03-16 22:03:47 +01:00
Aayush Gupta
61e148f58b model: Drop unused model classes
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-14 11:59:26 +05:30
Aayush Gupta
d4f4b4bca5 OnboardingFragment: Drop theme and accent fragments
Still available in the settings

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-14 11:46:44 +05:30
J E
754cb4b60b Translated using Weblate (Hebrew)
Currently translated at 96.0% (369 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/he/
2024-03-13 12:01:50 +01:00
Daniel Popov
da3a998b6a Translated using Weblate (Hungarian)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/hu/
2024-03-13 12:01:49 +01:00
Besnik Bleta
a8bcfc4c6a Translated using Weblate (Albanian)
Currently translated at 99.4% (382 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/sq/
2024-03-12 10:02:29 +01:00
Daniel Popov
38004e9069 Translated using Weblate (Hungarian)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/hu/
2024-03-12 10:02:27 +01:00
SeonGn J
b47a9629d1 Translated using Weblate (Korean)
Currently translated at 91.6% (352 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/ko/
2024-03-11 09:24:22 +01:00
Daniel Popov
56a4c316ca Translated using Weblate (Hungarian)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/hu/
2024-03-11 09:24:21 +01:00
SeonGn J
6bc714dbe8 Translated using Weblate (Korean)
Currently translated at 65.3% (251 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/ko/
2024-03-11 04:01:55 +01:00
ngocanhtve
90d129ee2d Translated using Weblate (Vietnamese)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/vi/
2024-03-11 04:01:54 +01:00
Sergio Marques
9a4e1d8f8f Translated using Weblate (Portuguese)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/pt/
2024-03-11 04:01:53 +01:00
ShareASmile
ac7d9116fc Translated using Weblate (Punjabi)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/pa/
2024-03-11 04:01:52 +01:00
Ihor Hordiichuk
ff8abab66e Translated using Weblate (Ukrainian)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/uk/
2024-03-08 22:01:58 +01:00
Λευτέρης Τ
f93cb5e168 Translated using Weblate (Greek)
Currently translated at 85.1% (327 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/el/
2024-03-08 22:01:57 +01:00
gallegonovato
89fdf1f19d Translated using Weblate (Spanish)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/es/
2024-03-08 22:01:55 +01:00
J. Lavoie
4ea37a156c Translated using Weblate (Finnish)
Currently translated at 93.4% (359 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/fi/
2024-03-07 15:02:00 +01:00
J. Lavoie
cc69954ab6 Translated using Weblate (Italian)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/it/
2024-03-07 15:01:59 +01:00
Colorful Rhino
031e1b04a6 Translated using Weblate (German)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/de/
2024-03-07 15:01:58 +01:00
J. Lavoie
55e293b558 Translated using Weblate (French)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/fr/
2024-03-07 15:01:58 +01:00
Oğuz Ersen
8ebbe1e288 Translated using Weblate (Turkish)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/tr/
2024-03-07 15:01:57 +01:00
NEXI
2b3fc11f0d Translated using Weblate (Serbian)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/sr/
2024-03-07 15:01:57 +01:00
大王叫我来巡山
bc1eb5d745 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/zh_Hans/
2024-03-07 15:01:56 +01:00
Mirosław Żylewicz
114f639d7e Translated using Weblate (Polish)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/pl/
2024-03-07 15:01:55 +01:00
joaooliva
264413450c Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/pt_BR/
2024-03-07 15:01:54 +01:00
Rex_sa
b35f636ffb Translated using Weblate (Arabic)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/ar/
2024-03-07 15:01:52 +01:00
Scrambled777
660646fa47 Translated using Weblate (Hindi)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/hi/
2024-03-07 15:01:51 +01:00
Aayush Gupta
9b9cfd8de2 Implement Material3 based EditTextPreference
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-07 18:38:45 +05:30
Aayush Gupta
8f09c7d6ed NetworkPreference: Move proxy validation logic into viewModel
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-07 17:19:59 +05:30
Aayush Gupta
2a41baf69d DownloadWorker: Download files using proxy when exists
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-07 14:37:19 +05:30
Aayush Gupta
717cb29a04 Bump to latest stable AGP and Hilt version
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-07 14:37:19 +05:30
Aayush Gupta
00b94fbac3 SessionInstaller: Automatically pick the best install location
This ensures that if an app is installed in external storage, it continues
to install it there, otherwise defaults to internal like existing behaviour.

Ref: https://cs.android.com/android/platform/superproject/+/main:frameworks/base/core/java/com/android/internal/content/InstallLocationUtils.java;l=328

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-06 19:23:00 +05:30
Aayush Gupta
a7db9f55d0 Merge branch 'weblate-aurora-store-aurorastore-translations' into 'master'
Translations update from Hosted Weblate

See merge request AuroraOSS/AuroraStore!297
2024-03-05 09:39:57 +00:00
Aayush Gupta
28ba1ac17c SplashFragment: Fixes for AuthState.Failed
* Make menu invisible instead of clearing it
* Apply appropriate margin to the status textView

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-05 14:52:28 +05:30
Aayush Gupta
72d077decf BasePreferenceFragment: Move Material3 preference logic to new fragment
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-05 14:42:56 +05:30
Fjuro
4046ece609 Translated using Weblate (Czech)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/cs/
2024-03-05 09:54:50 +01:00
ngocanhtve
7611b8cd52 Translated using Weblate (Vietnamese)
Currently translated at 99.4% (381 of 383 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/vi/
2024-03-05 09:54:49 +01:00
Mirosław Żylewicz
6e6a541126 Translated using Weblate (Polish)
Currently translated at 100.0% (383 of 383 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/pl/
2024-03-05 09:54:48 +01:00
Sergey Dudkin
e9d1329376 Translated using Weblate (Russian)
Currently translated at 99.7% (382 of 383 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/ru/
2024-03-05 09:54:48 +01:00
Aayush Gupta
ac3065ab2c Improve and fix proxy setup/usage
* Switch connectivitycheck URL to HTTPS as cleartext communication is disabled
* Use GlobalScope to verify and setup proxy URL
* Ignore proxy setup in HttpClient if its empty

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-05 14:17:11 +05:30