Aayush Gupta
f4226ac9ef
AppDetailsFragment: Download apps using DownloadWorker
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-12-14 18:26:18 +05:30
Aayush Gupta
52686adaba
BaseFragment: Inject Gson using Hilt
...
* Make BaseFragment an abstract class, no reason to keep this open
* This also fixes memory leak that happens after onboarding is finished
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-12-13 12:23:18 +05:30
Aayush Gupta
7420c96b86
Import and setup Hilt for dependency injection
...
Considering we will be having a room database instance soon for downloads
and already have tons of other instances everywhere, feels right time to
use Hilt to manage them to avoid more memory leaks.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-12-13 12:23:18 +05:30
Alexander Georgievskiy
ac595c8232
Fix AuroraOSS/AuroraStore#981 allow Sui without Shizuku app
2023-12-07 12:11:35 +00:00
Aayush Gupta
b2cbc8dc16
DownloadWorker: Move downloads observing logic into worker as well
...
This allows us to keep all the modifications related to DownloadWorker in a
single place.
Also, drop the 3seconds delay and do the cleanup instead of delegating it to
worker if last job was failed. This is better and more error-proof.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-12-01 20:23:06 +05:30
Aayush Gupta
acecf6b89b
DownloadWorker: Ensure ell app downloads are unique works
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-11-29 19:35:30 +05:30
Aayush Gupta
1e75bcbf85
DownloadWorker: Handle cancelling downloads
...
* Keep results for 7 days atleast
* Cancel download using tag & remove app from download queue
* Tag downloads and updates. This will allow a user to query & cancel all updates or downloads in one click
* Default to cancel all downloads & updates
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-11-29 19:35:16 +05:30
Aayush Gupta
67bd65be94
DownloadWorker: Support downloading OBB and patch files
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-11-29 18:59:17 +05:30
Aayush Gupta
0f4021117f
DownloadWorker: Progress improvements
...
* Handle split apk download progress
* Also share download speed and time remaining
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-11-29 18:59:17 +05:30
Aayush Gupta
5b60758347
InstallReceiver: Notify package installation status as well
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-11-29 18:59:17 +05:30
Aayush Gupta
26c4749047
DownloadWorker: Restrict concurrent downloads to one
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-11-29 18:59:17 +05:30
Aayush Gupta
dcaf4f024a
PermissionsFragment: Request users to disable doze during onboarding
...
* Required for background downloads using WorkManager expedited works
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-11-29 18:59:17 +05:30
Aayush Gupta
932723d784
DownloadWorker: Do cleanup on download failure/cancellation
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-11-29 18:59:17 +05:30
Aayush Gupta
01dee174bc
DownloadWorker: Trigger app installation on success
...
* Transparent dummy activity to trigger installation of apps from notification
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-11-29 18:59:17 +05:30
Aayush Gupta
6f707b2a37
DownloadWorker: Initial implementation
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-11-29 18:59:17 +05:30
Aayush Gupta
debb0bf920
NetworkPreference: Use M3 ListPreference
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-11-28 19:58:30 +05:30
Aayush Gupta
feb273687e
receiver: Drop unused broadcast receivers
...
Keep InstallReceiver as that will be used with the upcoming downloads refactor
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-11-28 18:39:04 +05:30
Aayush Gupta
b4127916ad
fixup! Add option to open app-specific setting for installed apps
2023-11-28 18:34:52 +05:30
Aayush Gupta
31e104ba8a
App: Update object with installation status
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-11-28 18:25:24 +05:30
Aayush Gupta
e08ac77b36
Merge branch 'master' into 'master'
...
Add google play version selection to settings
See merge request AuroraOSS/AuroraStore!263
2023-11-27 15:41:24 +00:00
vladrevers
511e9ce58b
Apply suggestions and corrections from code review
2023-11-27 15:51:29 +02:00
Aayush Gupta
2f7c055cdb
LocaleView: Show localized display language
...
display language seems to be more or less always empty/blank. Let's just
use localized display language instead. This will ensure both lines don't show
same values unless same locale is applied.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-11-27 18:19:04 +05:30
vladrevers
582194bb87
Add google play version selection to settings
2023-11-27 00:01:30 +02:00
Aayush Gupta
59d7f2720b
Explicity mark {Native|Service}Installer as deprecated
...
* Both should be removed in near future to avoid maintainence burden
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-11-22 16:37:17 +05:30
Aayush Gupta
b8a1495726
Override ListPreferenceDialogs to use MaterialAlertDialog
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-11-22 16:30:28 +05:30
Aayush Gupta
a644dd397c
Partial-revert: Add filter to list & update apps installed by Aurora Store only
...
Don't filter out packages without launch intent. Some packages provides updates while
not providing a launch intent for users.
Test: Check if "com.google.android.euicc" is visible in blacklist and has updates.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-11-21 20:14:45 +05:30
Aayush Gupta
d0b65ec3da
UpdateWorker: Switch to updates icon
...
* logo looks too small and bad
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-11-21 19:51:23 +05:30
Aayush Gupta
850ea1e9fa
UpdateWorker: Return success on end of execution
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-11-21 19:29:05 +05:30
Aayush Gupta
227bc07062
MainActivity*: Improve self-update log messages
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-11-21 19:08:57 +05:30
ThIsLinked
63460f8629
MainActivity: Restrict self-updates check to non-fdroid builds
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-11-21 19:08:57 +05:30
Aayush Gupta
dca5863ba8
NotificationUtil: Move notification related logic into separate Util class
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-11-01 12:51:05 +05:30
Aayush Gupta
ca881413eb
[LeakCanary] ForYou*: Refactor to use viewBinding and viewModels
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-11-01 12:50:49 +05:30
Aayush Gupta
981774dce3
EarlyAccess*: Drop unused fragment and viewmodel classes
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-11-01 12:50:49 +05:30
Aayush Gupta
bda8dc81d5
AuroraListPreference: Handle when value is null in persistString method
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-10-31 15:58:51 +05:30
Aayush Gupta
e94882cec2
PackageUtil: Drop unused deprecated methods
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-10-31 15:58:51 +05:30
Aayush Gupta
23310d9818
PermissionGroupInfo: Switch to local PermissionGroupInfo class
...
* Constructor has been limited to system only
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-10-31 15:58:50 +05:30
Aayush Gupta
f4654437a7
Exodus: Drop unused deprecated method
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-10-31 15:58:50 +05:30
Aayush Gupta
03aaebaccc
AccentFragment: Rename unused parameter to _
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-10-31 15:58:50 +05:30
Aayush Gupta
a0a68d35cf
Switch to compat methods wherever possible
...
* Introduce custom compat methods with DEPRECATION suppressed if not present in public library
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-10-31 15:58:50 +05:30
Aayush Gupta
9bbd03fdec
*Service: Remove notifications when stopping the service
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-10-25 13:23:11 +05:30
Aayush Gupta
3414c2d622
[LeakCanary] *ContainerFragment: Refactor to use viewBinding and viewModels
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-10-25 13:23:01 +05:30
Aayush Gupta
08b418aea7
InstallerFragment: Remove native and aurora services from choices
...
* Both are deprecated and shouldn't be promoted to users
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2023-10-24 18:28:13 +05:30
Rahul Patel
47f1edc922
Add support for proxies - 3/3
2023-10-22 14:34:12 +05:30
Rahul Patel
f19631ad6a
Add support for proxies - 2/3
2023-10-22 14:27:13 +05:30
Rahul Patel
52851c7afa
Filter out bogus apps from publisher page
2023-10-18 06:23:09 +05:30
Rahul Patel
c7c2781281
Add filter to list & update apps installed by Aurora Store only
...
- Improves fdroid filter
- Remove all apps that have no launch intent:
2023-10-18 05:33:59 +05:30
Rahul Patel
79516bbc20
Add option to open app-specific setting for installed apps
2023-10-18 02:19:06 +05:30
Rahul Patel
3339d4a395
Make update check intervals configurable
2023-10-18 02:08:39 +05:30
Rahul Patel
a355989054
Add Pixel-7a configs for Huawei devices
2023-10-18 01:49:28 +05:30
Rahul Patel
ea2436ae6f
Add support for proxies - 1/3
2023-10-18 00:51:05 +05:30