Added documentation.

This commit is contained in:
Peter Serwylo 2017-02-24 11:45:09 +11:00 committed by mvp76
parent 1a9f5d60bf
commit 49f20f64b3

View File

@ -252,6 +252,7 @@ public class InstallManagerService extends Service {
switch (intent.getAction()) { switch (intent.getAction()) {
case Downloader.ACTION_STARTED: case Downloader.ACTION_STARTED:
// App should currently be in the "Unknown" state, so this changes it to "Downloading".
Intent intentObject = new Intent(context, InstallManagerService.class); Intent intentObject = new Intent(context, InstallManagerService.class);
intentObject.setAction(ACTION_CANCEL); intentObject.setAction(ACTION_CANCEL);
intentObject.setData(downloadUri); intentObject.setData(downloadUri);