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) {
|
||||
Uri uri = data.getData();
|
||||
Apk apk = ApkProvider.Helper.findByUri(this, uri, Schema.ApkTable.Cols.ALL);
|
||||
startInstall(apk);
|
||||
InstallManagerService.queue(this, app, apk);
|
||||
}
|
||||
break;
|
||||
case REQUEST_UNINSTALL_DIALOG:
|
||||
@ -441,10 +441,6 @@ public class AppDetails2 extends AppCompatActivity
|
||||
return;
|
||||
}
|
||||
|
||||
startInstall(apk);
|
||||
}
|
||||
|
||||
private void startInstall(Apk apk) {
|
||||
InstallManagerService.queue(this, app, apk);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user