Rename 'startDownload' to 'initiateInstall'.
This is more apt given the change from `DownloaderService` to `InstallManagerService`.
This commit is contained in:
parent
f7299c6537
commit
4f6910fca7
@ -842,7 +842,7 @@ public class AppDetails extends AppCompatActivity {
|
|||||||
@Override
|
@Override
|
||||||
public void onClick(DialogInterface dialog,
|
public void onClick(DialogInterface dialog,
|
||||||
int whichButton) {
|
int whichButton) {
|
||||||
startDownload(apk);
|
initiateInstall(apk);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
builder.setNegativeButton(R.string.no,
|
builder.setNegativeButton(R.string.no,
|
||||||
@ -871,10 +871,10 @@ public class AppDetails extends AppCompatActivity {
|
|||||||
alert.show();
|
alert.show();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
startDownload(apk);
|
initiateInstall(apk);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void startDownload(Apk apk) {
|
private void initiateInstall(Apk apk) {
|
||||||
activeDownloadUrlString = apk.getUrl();
|
activeDownloadUrlString = apk.getUrl();
|
||||||
registerDownloaderReceivers();
|
registerDownloaderReceivers();
|
||||||
headerFragment.startProgress();
|
headerFragment.startProgress();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user