Aayush Gupta
769511ae66
Revert "PackageInfo: Filter out more core AOSP system apps"
...
This reverts commit 214bc4ca37 .
2024-12-20 10:26:53 +07:00
Aayush Gupta
214bc4ca37
PackageInfo: Filter out more core AOSP system apps
...
Most core AOSP system apps have Android version as versionName and SDK level
as versionCode. Filter these system apps out.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2024-12-18 22:08:28 +07:00
Rahul Patel
dc20fbd67c
AppDetails: Do not hide textviews
2024-12-16 22:20:40 +05:30
Rahul Patel
5e40f0cb53
AppDetails: Update header layout to better show unknown apps
2024-12-15 00:06:46 +05:30
Aayush Gupta
277198762b
UpdateWorker: Merge and simplify logic for checking updates
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2024-11-22 19:28:41 +07:00
Aayush Gupta
e2f2188e60
Platform: Switch all extensions to property access syntax
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2024-10-30 11:14:54 +05:30
Aayush Gupta
1626e13fdd
BlacklistViewModel: Move label check to extension
...
Let other classes take benefit of this check as well
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2024-10-22 17:10:45 +05:30
Aayush Gupta
3d6f4796e0
PackageInfo: isApp -> isValidApp
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2024-10-17 15:02:12 +05:30
Aayush Gupta
9a49ccc727
AppInstaller: Rework and extend silent install logic check
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2024-10-08 17:06:30 +05:30
Aayush Gupta
6ea0cda277
OnboardingFragment: Improvements to auto-updates setup
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2024-10-08 17:06:30 +05:30
Aayush Gupta
f6a6f34a81
Switch to getSystemService's extension method everywhere
...
Null-safe and avoids type-casting
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2024-09-12 12:41:08 +05:30
Rahul Patel
08d174b445
Get rid of unused extensions
2024-09-02 10:42:45 +05:30
Rahul Patel
20b507b029
Dynamic colors [2/2]
2024-09-02 03:23:24 +05:30
Rahul Patel
3546ed8a54
Dynamic colors [1/2]
2024-08-31 02:33:07 +05:30
Aayush Gupta
e5d2c66405
Log: Switch to android's log class everywhere
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2024-08-24 09:47:49 +05:30
Aayush Gupta
944917191d
SplashFragment: Fix parsing shared app link
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2024-08-14 19:22:40 +05:30
Rahul Patel
c8d701feb4
Address search fab color issue
2024-08-14 18:19:28 +05:30
Rahul Patel
71aabe8509
MoreDialog: Improve colors
2024-08-14 18:19:27 +05:30
Rahul Patel
0a25a7e755
Address button color issues
2024-07-30 01:06:49 +05:30
Aayush Gupta
5bdddac9d6
SplashFragment: Drop app restart logic
...
No longer required with new permissions logic
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2024-07-29 19:19:27 +07:00
Rahul Patel
44b9a1a7b2
Redo Permissions [1/2]
2024-07-29 01:11:20 +05:30
Rahul Patel
43b37839c4
Improve navigation bar visibility for devices < M
2024-07-29 01:11:17 +05:30
Aayush Gupta
e844023506
ThemeEngine: Don't apply color to systembar on Android 15+
...
Android 15 enforces transparent colors on system bars
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2024-07-19 12:59:50 +07:00
Aayush Gupta
e24d5d08e8
Resolve null-safety errors with newer compileSdk
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2024-07-19 12:59:50 +07:00
Aayush Gupta
cb4f36c2d5
treewide: Optimize imports
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2024-07-11 11:43:09 +07:00
Rahul Patel
a2fef6a897
Improve - Installed Apps, Updates & Blaclists
2024-07-11 11:41:25 +07:00
Rahul Patel
8857353029
OOBE: Restart app after onboarding to renew permission scopes [1/2]
2024-06-25 22:02:31 +05:30
Aayush Gupta
df3056cc43
AuthProvider: Inject it via hilt where needed
...
- Merge validation function in it as well instead of using it as an extension
- Use dedicated preference to check if we are anonymous or not instead of authData
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2024-06-19 12:31:34 +05:30
Aayush Gupta
05d9f279c9
BlacklistViewModel: Filter packages which are not apps
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2024-06-17 18:55:44 +05:30
Aayush Gupta
66045bceac
Context: Drop leftovers of custom tab intent
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2024-06-11 12:15:33 +05:30
Aayush Gupta
8173105353
Context: Drop unused extensions
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2024-06-11 12:10:47 +05:30
Aayush Gupta
285571f387
Use PendingIntentCompat for mutable flag
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2024-06-11 12:09:33 +05:30
Aayush Gupta
00532f200e
DownloadWorker: Better handle individual file progress updates
...
* Don't filter InputStream updates as we are already guarding UI updates against total progress
* Update downloadedBytes based on bytesCopied to reflect real progress
* Use collect instead of collectLatest to ensure all updates from flow are handled
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2024-05-06 13:01:05 +05:30
Aayush Gupta
8f4995221a
Move post-installation steps to AppInstaller class
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2024-05-04 14:48:01 +05:30
Aayush Gupta
a75838a57d
AuroraApp: Switch from GlobalScope to MainScope
...
Use MainScope instead of GlobalScope managed in the application class
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2024-05-02 12:22:06 +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
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
9b9cfd8de2
Implement Material3 based EditTextPreference
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2024-03-07 18:38:45 +05:30
Aayush Gupta
42c182bdb7
Revert "AppUpdateView: Show icons on incompatible updates buttons"
...
This reverts commit d4552007a7 .
2024-02-15 17:27:21 +05:30
Aayush Gupta
d4552007a7
AppUpdateView: Show icons on incompatible updates buttons
...
- Slashed circle: Disabled
- Shield with a cross: Fails certificate verification
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2024-02-12 15:03:42 +05:30
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