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>
This commit is contained in:
Aayush Gupta
2024-02-26 14:55:10 +05:30
parent 2f5d39106a
commit caf6dd18c1
59 changed files with 28 additions and 379 deletions

View File

@@ -17,22 +17,7 @@
~
-->
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<EditTextPreference
app:iconSpaceReserved="false"
app:dependency="PREFERENCE_DOWNLOAD_EXTERNAL"
app:key="PREFERENCE_DOWNLOAD_DIRECTORY"
app:title="@string/pref_downloader_path_title" />
<SwitchPreferenceCompat
app:defaultValue="false"
app:iconSpaceReserved="false"
app:disableDependentsState="false"
app:key="PREFERENCE_DOWNLOAD_EXTERNAL"
app:summary="@string/pref_downloader_external_desc"
app:title="@string/pref_downloader_external" />
<androidx.preference.PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto">
<SwitchPreferenceCompat
app:defaultValue="true"