Commit Graph

1286 Commits

Author SHA1 Message Date
Aayush Gupta
f868a0f505 compose: details: Initial DevProfileScreen implementation
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-08-20 10:14:42 +08:00
Aayush Gupta
3a23088525 compose: blacklist: Minor changes to menu
Drop leading icons as they look odd

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
6c38ff5479 compose: Introduce new compositionLocal for different Android OS
Android uses different variant of OS on devices such as TV, Wear, and Auto.
Introduce a new compositionLocal to detect and show different UI as needed.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-08-20 10:14:42 +08:00
Aayush Gupta
26816e8fab compose: details: Show averge rating out of on large-screen devices
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-08-20 10:14:42 +08:00
Aayush Gupta
fea81ce8b3 compose: details: Split AppDetails screen logic into individual files
Make it more readable and independent to adapt for different devices

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-08-20 10:14:42 +08:00
Aayush Gupta
6f1ee9f082 compose: menu: Expose modifier and expanded state boolean
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-08-20 10:14:42 +08:00
Aayush Gupta
ea9ab9ebbc compose: Expose modifier for root composables
This will allow adapting them as needed from different screens

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-08-20 10:14:41 +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
Rahul Patel
ee8a9ed69c Do not prompt for microG installs on non-huawei builds 2025-07-15 09:30:08 +05:30
Rahul Patel
be06225d6e MicroGInstaller: minor changes 2025-07-14 15:29:58 +05:30
Aayush Gupta
39dd7a75de HttpClient: Skip the builder for requests
* New Kotlin-friendly syntax as part of okhttp 5.x

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-07-07 15:32:29 +08:00
Rahul Patel
aea945491d Allow huawei variants to install microG & support silent installs. 2025-07-05 14:59:41 +05:30
Aayush Gupta
b3f56f606c AppDetailsFragment: Remove download manager menu action
Not required or related with details page

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-06-30 12:11:25 +08:00
Aayush Gupta
71bad1e9b1 AppDetailsFragment: Drop uninstall menu action
Uninstall action is showed as a secondary action already when the
app is installed

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-06-30 11:11:02 +08:00
Aayush Gupta
e8e87f835f Assign missing ID to update the work
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-06-11 17:45:24 +08:00
Aayush Gupta
3377774caf AppDetailsFragment: Localize permissions requested string
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-06-11 15:14:04 +08:00
Aayush Gupta
50b35f8a7d AuthProvider: Use actual device properties to generate anonymous auth
Applying 3b41525c50 again but with changes for
kotlinx.serialization

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-06-05 11:55:30 +08:00
Rahul Patel
42800dd4eb fix my folly 2025-06-01 20:24:00 +05:30
Rahul Patel
b507cd6d73 gplayapi:3.5.5 2025-06-01 20:10:23 +05:30
Aayush Gupta
c5a159288e Optimize imports treewide
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-05-30 14:12:43 +08:00
Aayush Gupta
f995c9bdee Mark ProxyInfo class as Serializable
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-05-30 14:03:46 +08:00
Rahul Patel
e88e4a29a9 remove hard coded strings
TODO: Do not use regex on gplapi to extract mi android version, use actual string instead.
2025-05-28 12:08:25 +05:30
Rahul Patel
0d05c7ad08 fix locale serialization issue 2025-05-27 18:18:15 +05:30
Rahul Patel
d91d988e0e Fix infinite cluster load animation 2025-05-27 18:06:29 +05:30
Rahul Patel
31ffa2e3d9 Fix app stream & cluster state issues 2025-05-24 19:03:51 +05:30
Rahul Patel
a352229b86 TopCharts: Do not overwrite entire map 2025-05-24 15:48:07 +05:30
Rahul Patel
8ddad653f9 cleanup splash fragment duplicacy 2025-05-24 15:15:57 +05:30
Rahul Patel
196749333f Splash: do not force hide anonymous login 2025-05-24 01:51:42 +05:30
Rahul Patel
6fa3be22dd Add flavours 2025-05-23 12:01:47 +05:30
Aayush Gupta
74d55514be AppInstaller: Update silent install logic to consider API 36 requirements
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-05-23 12:47:20 +08:00
Aayush Gupta
6fcaf68584 AppDetailsFragment: Get packageName from navArgs
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-05-22 15:56:41 +08:00
Aayush Gupta
8eda5e8d95 Merge branch 'cherry-pick-a27daf11' into 'dev'
Change gms_not_required_title to color green

See merge request AuroraOSS/AuroraStore!473
2025-05-20 13:38:41 +05:30
Aayush Gupta
9f8fc4b296 fixup! Switch from gson to kotlinx.serialization
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-05-19 19:36:13 +08:00
Aayush Gupta
eda01a6ec0 Switch from gson to kotlinx.serialization
Kotlin offers better null and type safety compared to gson

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-05-19 19:23:15 +08:00
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
Inhishonor
9eabec5554 Change gms_not_required_title to color green
(cherry picked from commit a27daf1161390f7208010b0d850e330cb15b4ad2)

Co-authored-by: Inhishonor <inhishonor@protonmail.com>
2025-05-13 01:20:36 +00:00
Aayush Gupta
e44f1859b5 viewmodel: Switch to getter to get helper modules with types
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-05-12 15:25:28 +08:00
Aayush Gupta
c0dd72b395 AuroraApp: Drop unused and deprecated low memory overrides
onTerminate is never called on real devices but only emulators and
onLowMemory is deprecated.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-04-21 11:13:06 +07:00
Aayush Gupta
2342ea9a78 DownloadWorker: Match function returns
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-04-13 18:42:15 +08:00
Aayush Gupta
5003f66fff Revert "AuthProvider: Use actual device properties to generate anonymous auth"
This reverts commit 3b41525c50.
2025-04-13 18:32:26 +08:00
Aayush Gupta
3b41525c50 AuthProvider: Use actual device properties to generate anonymous auth
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-04-07 22:50:00 +08:00
Aayush Gupta
31c6eff6b3 composables: Pass onClick parameter directly to composable wherever possible
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-04-03 17:12:48 +08:00
Aayush Gupta
dfce3ab990 GoogleFragment: Move authevent check to flow collector
lint warns that when checks are exhastive otherwise

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-03-23 17:24:45 +08:00
Aayush Gupta
57f29ff094 SplashFragment: Handle SHOW_APP_INFO intents
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-03-21 12:00:01 +08:00
Aayush Gupta
c458aa2afe SpoofProvider: Use Locale.Builder to construct locale for spoofing
Locale() constructor has been deprecated and the new of() method is API 36.
Locale.Builder is backwards compatible.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-03-19 13:16:49 +08:00
Aayush Gupta
9cbe7a57f9 InstallerStatusReceiver: Use correct installer package name on manual install
Only silent installers such as root and shizuku can spoof installer package name.
Use appropriate installer package name when doing manual install.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-03-17 17:40:21 +08:00
Aayush Gupta
51bc60e6e7 NotificationUtil: Respect user's system notification visibility settings
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-03-17 16:00:35 +08:00
Aayush Gupta
655c7cd59f DownloadWorker: Notify dowload failure on network error as well
We can do special handling when ready but failure is a failure regardless.
Notify the user about it.

Also remove non-required default exception parameter as all instances of onFailure
specify an appropriate exception.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-03-17 14:26:25 +08:00