Disable DownloadManager usage for stable

Since it's unstable and introduces regressions. See #445 and #459, for
example.
This commit is contained in:
Daniel Martí 2015-10-29 16:11:08 +01:00
parent 6c8e726aad
commit 2c1b13620f

View File

@ -64,7 +64,7 @@ public class DownloaderFactory {
public static AsyncDownloader createAsync(Context context, URL url, File destFile, String title, String id, AsyncDownloader.Listener listener) public static AsyncDownloader createAsync(Context context, URL url, File destFile, String title, String id, AsyncDownloader.Listener listener)
throws IOException { throws IOException {
if (canUseDownloadManager(context, url)) { if (false && canUseDownloadManager(context, url)) {
Utils.debugLog(TAG, "Using AsyncDownloaderFromAndroid"); Utils.debugLog(TAG, "Using AsyncDownloaderFromAndroid");
return new AsyncDownloaderFromAndroid(context, listener, title, id, url.toString(), destFile); return new AsyncDownloaderFromAndroid(context, listener, title, id, url.toString(), destFile);
} }