mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +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 =
|
requirementsWatcher =
|
||||||
new RequirementsWatcher(getApplicationContext(), listener, requirements);
|
new RequirementsWatcher(getApplicationContext(), listener, requirements);
|
||||||
requirementsWatcher.start();
|
requirementsWatcher.start();
|
||||||
|
} else {
|
||||||
|
downloadManager.startDownloads();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue