Commit Graph

12 Commits

Author SHA1 Message Date
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
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
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
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
26c4749047 DownloadWorker: Restrict concurrent downloads to one
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-11-29 18:59:17 +05:30
Rahul Patel
93b8cf3455 Add back toggle to enable wifi-only downloads 2023-10-17 06:20:17 +05:30
Rahul Patel
4fe7d453f5 Allow choosing custom download directory 2023-10-17 05:46:02 +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
Rahul Kumar Patel
d6d1bdca7d Fix Delete APK state dependency on External Storage 2021-03-29 04:48:54 +05:30
Rahul Kumar Patel
13a7a3b179 Minor usecase improvements 2021-02-26 16:51:27 +05:30
Rahul Kumar Patel
55865d3ce5 Add initial support for external storage 2021-02-24 15:34:21 +05:30
Rahul Kumar Patel
dfc706b13e Initial v4 2021-02-15 05:37:36 +05:30