Commit Graph

66 Commits

Author SHA1 Message Date
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
Aayush Gupta
0845add5ee Switch to auto-generated per-app languages
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-07-30 23:02:18 +08:00
Aayush Gupta
88d813756c Settings: Migrate all preferences to navigation components
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-07-24 23:02:13 +05:30
Aayush Gupta
6ab3e4b40d Drop default tab feature
Similar to quick exit, this now causes issue considering there are multiple
navigation destinations available.

In any case, the destinations are just one click away and people who liked
updates fragment as default tab can also rest easy since we have updates
notifications implemented that let's us open the tab by default.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-07-16 13:49:50 +05:30
Aayush Gupta
5094a3faca Drop quick exit feature
Broken now due to multiple navigation destinations unlike before
when there were only 3 fragments were the only choices.

Quick exit is supposed to be now the default behaviour in the coming commits

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-07-16 13:49:50 +05:30
Aayush Gupta
9b8e3cf9c4 Implement automated updates check
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-06-18 17:56:50 +05:30
Aayush Gupta
6caca87ade fixup! fixup! Override switch widget style to Material3
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-06-09 16:57:18 +08:00
Aayush Gupta
253bc71650 fixup! Override switch widget style to Material3
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-06-05 13:37:38 +08:00
Aayush Gupta
76fa3646cc Override switch widget style to Material3
Preference library has apparently no love for Material3 by default

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-06-05 13:33:05 +08:00
Aayush Gupta
75637e7906 preferences_updates: Don't reserve icon space
Matches rest of the preferences

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-06-03 00:13:34 +08:00
Aayush Gupta
3733c8437d Exclude downloads directory from backup
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-06-01 15:50:34 +08:00
Aayush Gupta
905566c57e locales_config: Add new language and missing en too
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-25 12:23:58 +05:30
Aayush Gupta
e6c29ad05d Enable per-app language preferences
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-19 22:52:44 +05:30