remove unneeded startInstall() method to make tracing easier
Now tracing where .queue() is used is more direct.
This commit is contained in:
parent
4bf1a4fa2b
commit
2ff47ed5c3
@ -362,7 +362,7 @@ public class AppDetails2 extends AppCompatActivity
|
|||||||
if (resultCode == Activity.RESULT_OK) {
|
if (resultCode == Activity.RESULT_OK) {
|
||||||
Uri uri = data.getData();
|
Uri uri = data.getData();
|
||||||
Apk apk = ApkProvider.Helper.findByUri(this, uri, Schema.ApkTable.Cols.ALL);
|
Apk apk = ApkProvider.Helper.findByUri(this, uri, Schema.ApkTable.Cols.ALL);
|
||||||
startInstall(apk);
|
InstallManagerService.queue(this, app, apk);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case REQUEST_UNINSTALL_DIALOG:
|
case REQUEST_UNINSTALL_DIALOG:
|
||||||
@ -441,10 +441,6 @@ public class AppDetails2 extends AppCompatActivity
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
startInstall(apk);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void startInstall(Apk apk) {
|
|
||||||
InstallManagerService.queue(this, app, apk);
|
InstallManagerService.queue(this, app, apk);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user