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>
This commit is contained in:
Aayush Gupta
2024-05-31 13:45:47 +05:30
parent 687a7c1540
commit fc6c5b0307
23 changed files with 2 additions and 59 deletions

View File

@@ -17,8 +17,7 @@
~
-->
<androidx.preference.PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android">
<androidx.preference.PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto">
<SwitchPreferenceCompat
app:defaultValue="true"
@@ -27,15 +26,4 @@
app:summary="@string/pref_install_delete_summary"
app:title="@string/pref_install_delete_title" />
<SeekBarPreference
android:defaultValue="6"
android:key="PREFERENCE_DOWNLOADS_CACHE_TIME"
android:max="24"
android:summary="@string/pref_download_cache_summary"
android:title="@string/pref_download_cache_title"
app:adjustable="true"
app:iconSpaceReserved="false"
app:min="1"
app:showSeekBarValue="true" />
</androidx.preference.PreferenceScreen>