Skip to content

Commit

Permalink
Sneak in catching an Android exception
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Jan 17, 2024
1 parent ff12ff1 commit ffe64c2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion android/src/org/ppsspp/ppsspp/NativeActivity.java
Expand Up @@ -1348,7 +1348,11 @@ public void onDismiss(DialogInterface d) {
AlertDialog dlg = builder.create();

dlg.setCancelable(true);
dlg.show();
try {
dlg.show();
} catch (Exception e) {
NativeApp.reportException(e, "AlertDialog");
}
}

public boolean processCommand(String command, String params) {
Expand Down

0 comments on commit ffe64c2

Please sign in to comment.