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:
parent
4e81aba841
commit
31313bc9ee
@ -70,6 +70,9 @@ 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 {
|
||||||
|
// 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)) {
|
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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user