INNER CODE UNIT · Java
buildErrorDialog
google/bundletool · src/main/dex_src/com/google/android/archive/ReactivateActivity.java:79
private AlertDialog buildErrorDialog() {
AlertDialog.Builder dialog =
new AlertDialog.Builder(this)
.setTitle("Installation failed")
.setCancelable(false)
.setNeutralButton("Close", this)
.setMessage(
String.format(
"To open %s you must first complete its download from an official app store.",
getAppName()));
if (isStoreInstalled()) {
dialog.setPositiveButton("Retry", this);
}
return dialog.create();
}