Commit Graph

99 Commits

Author SHA1 Message Date
Aayush Gupta
6cd57c2454 extensions: Drop unused extensions
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-08-20 10:14:42 +08:00
Aayush Gupta
a37485080f Bump compose-material3 to latest alpha
The library hasn't hit a stable release in over an year by now

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-08-20 10:14:42 +08:00
Aayush Gupta
e7f6d40709 compose: details: Setup menu
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-08-20 10:14:42 +08:00
Aayush Gupta
097f5a7375 compose: Initial migration of AppDetails* logic to compose [2/*]
Deprecate setting to hide similar and related apps as they will be always
listed in the suggestions pane on widescreen devices

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-08-20 10:14:40 +08:00
Aayush Gupta
f6f858e9f5 compose: Initial migration of AppDetails* logic to compose [1/*]
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-08-20 10:13:29 +08:00
Aayush Gupta
c5a159288e Optimize imports treewide
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-05-30 14:12:43 +08:00
Rahul Patel
6fa3be22dd Add flavours 2025-05-23 12:01:47 +05:30
Aayush Gupta
e39bc3b8a5 libs: Bump gplyapi to 3.5.0
* Map versionCode as Long
* Handle all cases of immutable object modification

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-05-19 19:17:06 +08:00
Rahul Patel
330762d86d DownloadWorker: more work 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
a9b2f0acf2 compose: Replicate BlacklistFragment in compose
Introduce a new activity to host composables as View system behaves
quite bad when composable are used inside it.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-02-16 15:07:47 +08:00
Aayush Gupta
2014073c91 Revert "Revert "PackageInfo: Filter out more core AOSP system apps""
This reverts commit 769511ae66.

* It was assumed that the logic was incorrect but it was fine
2025-02-16 15:07:47 +08:00
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