Rename 'startDownload' to 'initiateInstall'.

This is more apt given the change from `DownloaderService` to `InstallManagerService`.
This commit is contained in:
Peter Serwylo 2016-05-12 12:01:53 +10:00
parent f7299c6537
commit 4f6910fca7

View File

@ -842,7 +842,7 @@ public class AppDetails extends AppCompatActivity {
@Override
public void onClick(DialogInterface dialog,
int whichButton) {
startDownload(apk);
initiateInstall(apk);
}
});
builder.setNegativeButton(R.string.no,
@ -871,10 +871,10 @@ public class AppDetails extends AppCompatActivity {
alert.show();
return;
}
startDownload(apk);
initiateInstall(apk);
}
private void startDownload(Apk apk) {
private void initiateInstall(Apk apk) {
activeDownloadUrlString = apk.getUrl();
registerDownloaderReceivers();
headerFragment.startProgress();