remove unneeded startInstall() method to make tracing easier

Now tracing where .queue() is used is more direct.
This commit is contained in:
Hans-Christoph Steiner 2018-07-20 21:36:40 +02:00
parent 4bf1a4fa2b
commit 2ff47ed5c3

View File

@ -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);
}