mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Sneak in catching an Android exception
This commit is contained in:
parent
ff12ff1345
commit
ffe64c2305
1 changed files with 5 additions and 1 deletions
|
@ -1348,7 +1348,11 @@ public abstract class NativeActivity extends Activity {
|
|||
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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue