Commit Graph

78 Commits

Author SHA1 Message Date
Rahul Patel
ac9eb055e4 legacy: remove XML layouts, menus and preference graphs
Deletes res/layout/*, res/menu/*, the mobile_navigation graph,
preference_*.xml screens, and the fade in/out anims plus the
material-switch color selector. The Compose screens own all of
this rendering now.
2026-05-19 12:14:28 +05:30
Aayush Gupta
ef488ff2b4 NetworkPreference: Only show microG login switch if supported
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-08-21 16:45:16 +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
7ee1eadd28 preferences_updates: Update language for filters to be more clear
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-05-20 16:56:53 +08:00
Aayush Gupta
5c7289381f UpdatesPreference: Allow to configure automated updates constraints
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-02-18 15:56:16 +08:00
Aayush Gupta
076b6ad291 NetworkPreferences: Simplify proxy setup yet again
* Allow to view and edit proxy URL without turning it off and on
* Add a new disable button in proxy dialog
* Trim whitespace and disallow new lines in the proxy URL field
* Disable buttons when not applicable

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-02-18 14:46:42 +08:00
Aayush Gupta
40524c7379 NetworkPreference: Make microG login configurable for users
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-02-11 13:15:47 +07:00
Aayush Gupta
825ed174b2 SettingsFragment: Add preference for permissions fragment
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-12-31 13:51:06 +07:00
Aayush Gupta
b7cf4c5918 UpdatePreferences: Drop Google apps filter
Doesn't covers all possible apps nor makes sense as lot of
android core system apps are developed by Google. Users should
blacklist apps manually which they don't want to be updated instead.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-11-22 19:29:19 +07:00
Aayush Gupta
bc3e1b0d1b FiltersPreference: Merge into UpdatesPreference
They only apply to updates as we try to show all available apps in
installed and blacklist fragment to be clear about all possible apps
aurora store can check updates for.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-11-22 19:28:41 +07:00
Aayush Gupta
52a8702ccc OnboardingFragment: Disable similar apps by default
AppDetailsFragment already has too much information and we also want
to put compatibility information. Hide similar apps by default to make
some space for it.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-10-26 12:55:27 +05:30
Aayush Gupta
577bc0d775 NetworkPreference: Show current proxy URL when possible
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-10-26 11:10:16 +05:30
Aayush Gupta
d066e070bf InstallationPreference: Drop setting to abandon sessions manually
Sessions are always abandoned on app start similar to downloads

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-10-08 18:38:55 +05:30
Aayush Gupta
a5c85939ed DownloadPreference: Move APK post-install setting to InstallationPreference
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-10-08 18:15:52 +05:30
Rahul Patel
3546ed8a54 Dynamic colors [1/2] 2024-08-31 02:33:07 +05:30
Aayush Gupta
80c404adb7 device_owner_receiver: Don't show device admin in settings
We only support device owner API which needs ADB to activiate and offers
deactivation inside Aurora Store. Settings has no play in between.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-08-14 19:27:58 +05:30
Rahul Patel
2b65eeb742 Resource house keeping + color cleanup 2024-07-29 01:11:16 +05:30
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
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
Aayush Gupta
1fc5f3b87b FilterPreference: Drop persistant search filter setting
Filters should persist for a single search only to ensure users can view all available
apps when starting a new search

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-12 10:25:17 +05:30
Aayush Gupta
e69749c83b preferences*: Rearrange and categorise preferences
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-01 14:57:11 +05:30
Aayush Gupta
453f6f24c2 Initial support for third-party dispensers
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-01 09:46:20 +05:30
Aayush Gupta
358e81e67e UIPreference: Hide accent color preference on Android 12+ devices
Android 12 and above devices have system based accent color system known as monet
that is highly customizable compared to our offerings.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-05-31 15:59:18 +05:30
Aayush Gupta
fc6c5b0307 CleanCacheWorker: Don't allow configuring cache duration
6 hours is ample time to do anything a user would like to do

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-05-31 15:59:18 +05:30
Aayush Gupta
196f9d00c5 InstallerFragment: Relocate to settings instead of onboarding
* This makes onboarding minimal and only required screens are shown
* SessionInstaller is the recommended choice, user who needs a different can configure in settings
* Instead of showing minimal list, show installer fragment that contains more information
* Also show all installers like before

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-05-08 15:44:15 +05:30
Aayush Gupta
6cba36f2e3 Drop unused preferences and variables
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-05-08 14:51:10 +05:30
Aayush Gupta
933b7b6886 DeviceOwnerReceiver: Add minimal support for device owner API
SessionInstaller can commit silent installs if the app is device owner. Implemented on
request of users.

This still needs user to set the app as device owner manually using ADB (only possible
if the device has no accounts setup yet).

Co-authored-by: Syuugo <pub@s1204.me>
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-05-07 13:21:23 +05:30
Aayush Gupta
68733e1ec1 DownloadPreference: Add a worker to regularly clear downloads cache
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-05-02 20:12:39 +05:30
Aayush Gupta
80df8affe4 backup_rules: Fix backup rules on Android 12 and higher
Android 12 and higher requires different namespace for cloud and device transfers

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-05 12:38:41 +05:30
Aayush Gupta
caf6dd18c1 Cleanup and retire non-working download options
* External storage download uses external files directory and not the SD card
  to downloads while the description states otherwise. This is in-accurate and
  thus dropped (See #985).

* Custom download path is broken which was implemented as a workaround for the
  above (See #1003).

* Move downloads storage to internal files directory which is sandboxed and only
  accessible to us.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-04 12:55:39 +05:30
Aayush Gupta
2f5d39106a UpdateWorker: Merge self-updates logic for non-fdroid builds
Treat Aurora Store as a normal app for non-fdroid builds and check
for its updates based on auto-update preference.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-02 13:26:54 +05:30
Aayush Gupta
d387406f3d preferences_updates: Rename extended updates to incompatible updates
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-02-12 15:03:41 +05:30
Aayush Gupta
aa95542b0d Preferenes: Drop wifi only download support
Not used anywhere nor working with rework. Needs to be implemented properly
before adding again.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-02-01 10:40:44 +01:00
Aayush Gupta
59309783b1 UpdatesPreference: Setup auto-updates
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-27 21:15:00 +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
vladrevers
511e9ce58b Apply suggestions and corrections from code review 2023-11-27 15:51:29 +02:00
vladrevers
582194bb87 Add google play version selection to settings 2023-11-27 00:01:30 +02:00
ThIsLinked
63460f8629 MainActivity: Restrict self-updates check to non-fdroid builds
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-11-21 19:08:57 +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
3339d4a395 Make update check intervals configurable 2023-10-18 02:08:39 +05:30
Rahul Patel
93b8cf3455 Add back toggle to enable wifi-only downloads 2023-10-17 06:20:17 +05:30
Rahul Patel
1ce09c5c35 Revert "Add back toggle for auto install post app download"
This reverts commit 24496b1405.
2023-10-17 05:59:52 +05:30
Rahul Patel
4fe7d453f5 Allow choosing custom download directory 2023-10-17 05:46:02 +05:30
Rahul Patel
24496b1405 Add back toggle for auto install post app download 2023-10-14 06:47:20 +05:30
Rahul Patel
99e6508ccf Remove advance preferences 2023-10-12 21:38:24 +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
c627db3e65 Bring back default tab feature
This time with navigation components

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-08-15 00:21:50 +05:30
Aayush Gupta
caef0e1b17 PREFERENCE_AUTO_DELETE: Drop dependency upon PREFERENCE_DOWNLOAD_EXTERNAL
This is independent upon whether the packages are being downloaded in internal or
external storage

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-08-11 16:21:14 +05:30
Aayush Gupta
560c28cb07 UIPreference: Add option for app language in UI preferences
Only visible on Android 13 and above

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-08-09 19:36:20 +05:30