Commit Graph

1022 Commits

Author SHA1 Message Date
Aayush Gupta
d72d213f3a FragmentGenericWithToolbarBinding: Switch to native toolbar layout
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-30 15:53:35 +07:00
Aayush Gupta
2aeb60ee48 Merge branch 'master' into 'master'
Fix: Use user-selected vending version

See merge request AuroraOSS/AuroraStore!357
2024-07-30 04:03:38 +00:00
Rahul Patel
286996c64e MoreDialog: Minor UI tweaks 2024-07-30 03:25:21 +05:30
Rahul Patel
6479781446 Aayein! 2024-07-30 02:38:04 +05:30
Rahul Patel
c5bb93da02 Beautify MoreDialog or Options sheet 2024-07-30 02:36:13 +05:30
Rahul Patel
1124a100d8 Address more button text color issues 2024-07-30 01:36:30 +05:30
Rahul Patel
0a25a7e755 Address button color issues 2024-07-30 01:06:49 +05:30
Aayush Gupta
8aeec0c082 AppDetailsFragment: Add data safety section
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-29 23:42:00 +07:00
Vladyslav
46565c0fba Fix: Use user-selected vending version
Previously, the vending version was set in the verifyAndSaveAuth method, which was too late because AuthHelper.build had already used the properties.
Now, we set the user-selected vending version in the properties before calling AuthHelper.build.
2024-07-29 16:23:37 +00:00
Rahul Patel
a6760b45d5 Do a manual check for OBB directory R/W access before attempting to download apps with OBB files 2024-07-29 19:25:44 +07:00
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
Aayush Gupta
8f72599cda PermissionProvider: Consider both app links as required
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-29 19:14:36 +07:00
Aayush Gupta
693649d203 DetailsCarouselController: Don't discriminate against single cluster apps
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-29 19:08:57 +07:00
Aayush Gupta
b7b11fcccc PackageUtil: Suppress deprecation warning for install perm check
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-29 14:19:29 +07:00
Rahul Patel
a4567a6460 AppDetails: Make install app permission check a must before requesting an install 2024-07-29 02:28:41 +05:30
Rahul Patel
799b71f5d2 PermissionProvider: Auto resolve correct ESM intent type 2024-07-29 01:11:22 +05:30
Rahul Patel
c694dd7891 PermissionProvider: Use safe intent for ESM 2024-07-29 01:11:21 +05:30
Rahul Patel
464aff4d64 Redo Permissions [2/2] 2024-07-29 01:11:21 +05:30
Rahul Patel
44b9a1a7b2 Redo Permissions [1/2] 2024-07-29 01:11:20 +05:30
Rahul Patel
894e7a629f Add a safeguard to ESM/ESA access prompt 2024-07-29 01:11:20 +05:30
Rahul Patel
02e1c9845a Do not show keyboard when not required 2024-07-29 01:11:20 +05:30
Rahul Patel
6a01825a4f Do not allow ESA & ESM prompt without Installer Permission
- This avoids OBB dir permission bakchodi!
2024-07-29 01:11:19 +05:30
Rahul Patel
a76266c212 Fix storage access issue for API Level 33 & above 2024-07-29 01:11:19 +05:30
Rahul Patel
43b37839c4 Improve navigation bar visibility for devices < M 2024-07-29 01:11:17 +05:30
Rahul Patel
4fbda168d7 Apply theme after view is created 2024-07-29 01:11:17 +05:30
Rahul Patel
2b65eeb742 Resource house keeping + color cleanup 2024-07-29 01:11:16 +05:30
Rahul Patel
3be0812dd0 Add headerSubtitle to ActionHeaderLayout 2024-07-29 01:11:16 +05:30
Rahul Patel
c406e56d6a Improve updates page UI + fix empty updates on refresh 2024-07-29 01:11:10 +05:30
ggabr
5ffb6b3886 DownloadWorker, really fail on incorrect hashes
assert() only does something in debug builds, so the hash was never really checked.

The Log.e line might be reduntant.
2024-07-27 15:07:24 +02:00
Aayush Gupta
41bf1cba32 UpdateWorker: Always verify certs for auto-updates
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-22 11:06:14 +07:00
Aayush Gupta
f424f58c1b fixup! Initial support for caching updates
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-19 19:30:15 +07:00
Aayush Gupta
e7762e6d15 AppDetailsFragment: Require extended updates for incompatible apps too
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-19 19:20:56 +07:00
Aayush Gupta
58da7e14c3 GoogleFragment: Drop databaseEnabled setting from webview
Deprecated and will be soon removed from Android System WebView similar to Chrome

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-19 12:59:50 +07:00
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
840c2f0b10 UpdatesFragment: Restore menu action sheet for quick actions
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-18 13:00:04 +07:00
Aayush Gupta
1fbf3cf56e NoAppView: Make new action button optional
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-18 13:00:04 +07:00
Aayush Gupta
2deece0117 Move InstalledApps & Blacklist fragment's viewModel owner to fragment
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-18 13:00:04 +07:00
Aayush Gupta
6a7d4f6e3e UpdatesFragment: Restore update all button as action button
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-18 13:00:04 +07:00
Aayush Gupta
d4995c73e2 MainActivity: Run migrations if required
Thanks to OEMs breaking the MY_PACKAGE_REPLACED API, migrations haven't been
running on some devices. To mitigate this, trigger the same via MainActivity too.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-17 13:45:31 +07:00
Aayush Gupta
2a68f58e70 BlacklistFragment: Emit event when new apps are blacklisted
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-17 13:45:30 +07:00
Aayush Gupta
e9843a6b45 MainActivity: Add view binding type hint for navigation bar
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-17 13:45:30 +07:00
Aayush Gupta
8b341c088c Initial support for caching updates
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-17 13:45:30 +07:00
Aayush Gupta
bec1bea05a Optimize imports treewide
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-17 13:45:30 +07:00
Aayush Gupta
2813d28120 Adapt for data class changes
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-17 13:45:30 +07:00
Aayush Gupta
04e2e69c54 {SplashFragment|NetworkPreference}: Updates to AuthData building
* Always generate GSF ID on device regardless of login type
* Switch to new method for building AuthData

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-17 13:45:30 +07:00
Rahul Patel
c426c3b7a7 Disable AppPeekSheet, enable only when ready 2024-07-17 13:45:30 +07:00
Rahul Patel
388e2d9a35 Improve fliters & chip styles
-- Removed filter apply & close, filter is saved on dismiss
2024-07-17 13:45:30 +07:00
Aayush Gupta
ec9e237a4d AuthProvider: Return null instead of invalid AuthData
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-17 13:45:30 +07:00
Aayush Gupta
1c701ec7f0 NetworkPreference: Move out and simply proxy logic
No need to check connectivity as soon as URL is set as SplashFragment will
only let you login when a valid connection is available.

Use a modern dialog and EditText to do set the URL with minimal verification.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-14 19:24:33 +07:00