mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-04-21 15:29:18 -04:00
Specify why the DM downloader is disabled
Closes both issues since they don't affect official builds anymore, for as long as this is disabled. Closes #445. Closes #459.
This commit is contained in:
@@ -70,6 +70,9 @@ public class DownloaderFactory {
|
||||
|
||||
public static AsyncDownloader createAsync(Context context, URL url, File destFile, String title, String id, AsyncDownloader.Listener listener)
|
||||
throws IOException {
|
||||
// To re-enable, fix the following:
|
||||
// * https://gitlab.com/fdroid/fdroidclient/issues/445
|
||||
// * https://gitlab.com/fdroid/fdroidclient/issues/459
|
||||
if (false && canUseDownloadManager(context, url)) {
|
||||
Utils.debugLog(TAG, "Using AsyncDownloaderFromAndroid");
|
||||
return new AsyncDownloaderFromAndroid(context, listener, title, id, url.toString(), destFile);
|
||||
|
||||
Reference in New Issue
Block a user