Commit Graph

47 Commits

Author SHA1 Message Date
Aayush Gupta
859d32d878 AppInstaller: Always use intent based uninstallation of apps
This requests user's confirmation before uninstallation every time which
is what we want to happen as well.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-01-20 15:12:57 +05:30
Aayush Gupta
e23d17e4ac Context: Switch to Intent for share extension
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-01-02 11:32:03 +05:30
Aayush Gupta
e66c558f82 Updates: Use appropriate certificate to verify and purchase apps
* Only show updates for devices that has atleast one matching certificate
* On Android 9.0+ devices, purchase apps with latest certificate's hash while updating
  to support key rotations

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-30 12:39:17 +05:30
Aayush Gupta
87dc309d35 PackageManagerReceiver: Rework package install actions
Notify on package installation and delete the downloaded directory

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
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
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
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
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
6f707b2a37 DownloadWorker: Initial implementation
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-11-29 18:59:17 +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
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
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
bd621163cc Validate packagename to avoid bogus packagenames 2023-10-13 05:13:22 +05:30
Rahul Patel
99e6508ccf Remove advance preferences 2023-10-12 21:38:24 +05:30
Aayush Gupta
103b6b6f78 treewide: Optimize imports
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-10-02 22:59:50 +05:30
Aayush Gupta
fd097fbba1 Initial Web APIs implementation
Introduce a toggle in Settings > Advanced to let user use Web APIs.
Currently implemented for search suggestions and results only.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-10-02 16:47:09 +05:30
Aayush Gupta
cfcccf811a ThemeEngine: Rework theme configuration
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-09-01 14:45:32 +05:30
Aayush Gupta
8be0ea740c Drop unused code since migration to navigation components
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-09-01 14:45:32 +05:30
Aayush Gupta
d35d694564 Migrate from Glide to Coil
- Also drop dependency on kapt

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-09-01 14:45:32 +05:30
Aayush Gupta
f3c56ca056 Context: Launch MainActivity for opening custom tab action
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-08-21 10:05:33 +05:30
Aayush Gupta
901cf0f2e2 Optimize imports
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-08-14 09:30:52 +05:30
Aayush Gupta
88d9dcdd53 DO NOT MERGE: WIP: Migrate AppDetailsActivity to fragment
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-07-16 13:49:50 +05:30
Aayush Gupta
77fe8652b7 Drop support for kitkat; Bump minSdk to 21
This has been dead for a while already, remove the code and bump minSdk to a
version that actually works

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-06-30 18:16:22 +05:30
Aayush Gupta
d4df0b4571 Use background from theme for MaterialAlertDialog
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-06-30 18:02:53 +05:30
Aayush Gupta
1b9eea69f0 fixup! Handle account UI login UI progress better 2023-05-28 10:47:00 +05:30
Aayush Gupta
cd3cd6f9b7 Handle account UI login UI progress better
* Show server down error message on 503 status
* Don't allow users to click another login option if another login is in progress
* Reset progress bar's visibility properly

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-28 01:13:13 +05:30
Aayush Gupta
6b2f22350c Add preference to open custom tab for searching apps
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-04 12:13:34 +05:30
Aayush Gupta
943a1c2d49 Glide: Drop unused transitionOptions parameter
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-01 20:05:37 +05:30
Aayush Gupta
eac0a95d06 Glide: Switch from ViewTarget to CustomViewTarget
ViewTarget has been deprecated

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-01 18:17:33 +05:30
Aayush Gupta
5a7615691b Switch to Material3 theme
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-30 12:20:52 +05:30
Aayush Gupta
4b6a9b9aa9 Switch to CustomTabs instead of launching browser
Provides a better UX

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-30 12:20:52 +05:30
Aayush Gupta
be9efa74c5 Drop unused parameters treewide
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-30 12:20:51 +05:30
Aayush Gupta
f54e1e13ad Switch to IntentBuilder's constructor for specifying parameters
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-30 12:20:51 +05:30
Aayush Gupta
3fe0ea719e Switch from toLowercase() to lowercase() method
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-30 12:20:51 +05:30
Aayush Gupta
852cba87b1 Add permission and guard for notifications on Android 13
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2022-08-29 19:33:56 +05:30
Oliver Scott
f83d26df58 Android 12 updates
* Updated gradle version and dependencies
* Bumped compileSdkVersion and targetSdkVersion to 31
* Added support for updates without user action
* Bumped versionCode and versionName

Changes required by API level 31:
 * Added explicit exported tags to activities and receivers
 * Added explicit IMMUTABLE|MUTABLE flags to PendingIntents
2021-11-12 09:46:00 -05:00
Rahul Kumar Patel
4023a1881e Improve updates fragment actions 2021-03-20 02:35:27 +05:30
Rahul Kumar Patel
70f0543dcb ¯\_(ツ)_/¯ 2021-03-01 22:16:28 +05:30
Rahul Kumar Patel
6a1e0ec875 Improve dialog extension 2021-03-01 22:14:21 +05:30
Rahul Kumar Patel
90113ab338 Add legacy self-update so v3 users can get v4 update 2021-03-01 22:02:09 +05:30
Rahul Kumar Patel
8ebb362f58 Add app permission sheet 2021-02-27 01:01:20 +05:30
Rahul Kumar Patel
5aa4d6fe5e Add edge cases to detect MIUI & Huawei devices to select correct installer and apply spoof 2021-02-25 16:21:45 +05:30
Rahul Kumar Patel
0e1ae6364d Improve installer & related UI 2021-02-25 10:28:56 +05:30
Rahul Kumar Patel
b877552634 Improve extenson & remove redundant utils 2021-02-24 17:41:20 +05:30
Rahul Kumar Patel
1d29d1dca1 Move extensions out 2021-02-24 16:43:50 +05:30