Skip to content

Commit

Permalink
FIX: App Installer activity is not finished when cancelled.
Browse files Browse the repository at this point in the history
  • Loading branch information
oasisfeng committed May 24, 2019
1 parent ed1de2e commit 37c0e13
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ private boolean prepare() {
dialog.withCancelButton().withOkButton(() -> {
if (checkbox.isChecked()) addAlwaysAllowedCallerPackage(mCallerPackage);
performInstall(data);
}).setOnCancelListener(d -> finish()).setView(view).setCancelable(false).show();
}).setOnDismissListener(d -> finish()).setView(view).setCancelable(false).show();
} else performInstall(data); // Whitelisted caller to perform installation without confirmation
return true;
}
Expand Down

0 comments on commit 37c0e13

Please sign in to comment.