Commit 53a003ba by eguven Committed by Oliver Woodman

Start downloads on DownloadService creation if there are no requirements

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=193662396
parent b125d79e
...@@ -145,6 +145,8 @@ public abstract class DownloadService extends Service { ...@@ -145,6 +145,8 @@ public abstract class DownloadService extends Service {
requirementsWatcher = requirementsWatcher =
new RequirementsWatcher(getApplicationContext(), listener, requirements); new RequirementsWatcher(getApplicationContext(), listener, requirements);
requirementsWatcher.start(); requirementsWatcher.start();
} else {
downloadManager.startDownloads();
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment