Added documentation.
This commit is contained in:
parent
1a9f5d60bf
commit
49f20f64b3
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user