https download URLs did not work correctly

This commit is contained in:
daniel oeh 2013-10-12 00:35:41 +02:00
parent 05c62ca32f
commit 0a7ceec644

View File

@ -412,7 +412,8 @@ public class DownloadService extends Service {
}
private Downloader getDownloader(DownloadRequest request) {
if (URLUtil.isHttpUrl(request.getSource())) {
if (URLUtil.isHttpUrl(request.getSource())
|| URLUtil.isHttpsUrl(request.getSource())) {
return new HttpDownloader(request);
}
Log.e(TAG,