Skip to content
Permalink
Browse files

Fixed alert dialog for not loaded libraries on Android being cancelable.

If the alert dialog could be canceled the Activity would not be finished here.
Also setting the property to "true" would be redundant because that is default.
  • Loading branch information
philippwiesemann committed Oct 23, 2014
1 parent 425a06a commit 775a802627015764b1a29e94160d45ef30b15c63
Showing with 1 addition and 1 deletion.
  1. +1 −1 android-project/src/org/libsdl/app/SDLActivity.java
@@ -132,7 +132,7 @@ public void onClick(DialogInterface dialog,int id) {
SDLActivity.mSingleton.finish();
}
});
dlgAlert.setCancelable(true);
dlgAlert.setCancelable(false);
dlgAlert.create().show();

return;

0 comments on commit 775a802

Please sign in to comment.