mirror of
https://github.com/samsonjs/media.git
synced 2026-03-27 09:45:47 +00:00
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:
parent
b125d79ed6
commit
53a003bae2
1 changed files with 2 additions and 0 deletions
|
|
@ -145,6 +145,8 @@ public abstract class DownloadService extends Service {
|
|||
requirementsWatcher =
|
||||
new RequirementsWatcher(getApplicationContext(), listener, requirements);
|
||||
requirementsWatcher.start();
|
||||
} else {
|
||||
downloadManager.startDownloads();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue