Remove documentation on calling startDownloads

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=194961264
This commit is contained in:
andrewlewis 2018-05-01 10:57:17 -07:00 committed by Oliver Woodman
parent ddeafa4fef
commit 3f003c517c
2 changed files with 3 additions and 4 deletions

View file

@ -47,9 +47,6 @@ import java.util.concurrent.CopyOnWriteArraySet;
* <p>A download manager instance must be accessed only from the thread that created it, unless that
* thread does not have a {@link Looper}. In that case, it must be accessed only from the
* application's main thread. Registered listeners will be called on the same thread.
*
* <p>By default download tasks are stopped, so {@link #startDownloads()} must be called to start
* them.
*/
public final class DownloadManager {

View file

@ -250,7 +250,9 @@ public abstract class DownloadService extends Service {
/**
* Returns a {@link DownloadManager} to be used to downloaded content. Called only once in the
* life cycle of the service.
* life cycle of the service. The service will call {@link DownloadManager#startDownloads()} and
* {@link DownloadManager#stopDownloads} as necessary when requirements returned by {@link
* #getRequirements()} are met or stop being met.
*/
protected abstract DownloadManager getDownloadManager();