Fixed alert dialog for not loaded libraries on Android being cancelable.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Thu, 23 Oct 2014 16:41:01 +0200
changeset 9182 d1bf8c7a532e
parent 9181 de78199c1ef6
child 9183 9a0ebeef4988
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.
android-project/src/org/libsdl/app/SDLActivity.java
--- a/android-project/src/org/libsdl/app/SDLActivity.java	Thu Oct 23 16:39:15 2014 +0200
+++ b/android-project/src/org/libsdl/app/SDLActivity.java	Thu Oct 23 16:41:01 2014 +0200
@@ -132,7 +132,7 @@
                         SDLActivity.mSingleton.finish();
                     }
                 });
-           dlgAlert.setCancelable(true);
+           dlgAlert.setCancelable(false);
            dlgAlert.create().show();
 
            return;