Skip to content

Commit

Permalink
Fix crash on error when installing with root (ElderDrivers#197)
Browse files Browse the repository at this point in the history
Missing argument
  • Loading branch information
Phoenix09 authored and DVDAndroid committed Sep 4, 2018
1 parent 535e759 commit 9f7b4fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ protected void onPostExecute(Integer result) {
if (result.equals(0)) {
NotificationUtil.showModuleInstallNotification(R.string.installation_successful, R.string.installation_successful_message, info.localFilename, info.title);
} else if (failureMatcher.find()) {
NotificationUtil.showModuleInstallNotification(R.string.installation_error, R.string.installation_error_message, info.localFilename, failureMatcher.group(1));
NotificationUtil.showModuleInstallNotification(R.string.installation_error, R.string.installation_error_message, info.localFilename, info.title, failureMatcher.group(1));
}
} else {
installApkNormally(context, info.localFilename);
Expand Down

0 comments on commit 9f7b4fb

Please sign in to comment.