DownloadWorker: Restrict concurrent downloads to one

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2023-11-01 17:48:50 +05:30
parent dcaf4f024a
commit 26c4749047
8 changed files with 63 additions and 41 deletions

View File

@@ -47,14 +47,4 @@
app:key="PREFERENCE_DOWNLOAD_WIFI_ONLY"
app:title="@string/pref_downloader_wifi_title" />
<SeekBarPreference
android:defaultValue="3"
android:key="PREFERENCE_DOWNLOAD_ACTIVE"
android:max="12"
android:summary="@string/pref_downloader_active_summary"
android:title="@string/pref_downloader_active_title"
app:adjustable="true"
app:iconSpaceReserved="false"
app:min="1"
app:showSeekBarValue="true" />
</androidx.preference.PreferenceScreen>