Added isUpdateInProgress() to UpdaterManager interface.

This commit is contained in:
dev
2015-06-09 03:32:33 +00:00
parent f73101b014
commit 1a40e57413

View File

@ -145,6 +145,12 @@ public interface UpdateManager {
*/ */
public String checkAvailable(UpdateType type, String id, long maxWait); public String checkAvailable(UpdateType type, String id, long maxWait);
/**
* Is any download in progress?
* Does not include checks.
*/
public boolean isUpdateInProgress();
/** /**
* Non-blocking. Does not check. * Non-blocking. Does not check.
* Fails if check or update already in progress. * Fails if check or update already in progress.