mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08: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
@ -145,6 +145,8 @@ public abstract class DownloadService extends Service {
|
||||
requirementsWatcher =
|
||||
new RequirementsWatcher(getApplicationContext(), listener, requirements);
|
||||
requirementsWatcher.start();
|
||||
} else {
|
||||
downloadManager.startDownloads();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user