Start downloads on DownloadService creation if there are no requirements

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=193662396
This commit is contained in:
eguven 2018-04-20 07:04:16 -07:00 committed by Oliver Woodman
parent b125d79ed6
commit 53a003bae2

View File

@ -145,6 +145,8 @@ public abstract class DownloadService extends Service {
requirementsWatcher =
new RequirementsWatcher(getApplicationContext(), listener, requirements);
requirementsWatcher.start();
} else {
downloadManager.startDownloads();
}
}
}