Skip to content

Commit

Permalink
Fixed alert dialog for not loaded libraries on Android being cancelable.
Browse files Browse the repository at this point in the history
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 775a802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android-project/src/org/libsdl/app/SDLActivity.java
Expand Up @@ -132,7 +132,7 @@ public void onClick(DialogInterface dialog,int id) {
SDLActivity.mSingleton.finish();
}
});
dlgAlert.setCancelable(true);
dlgAlert.setCancelable(false);
dlgAlert.create().show();

return;
Expand Down

0 comments on commit 775a802

Please sign in to comment.