From 1e55e039ec11af0cc7f282035e9f8bcd8456e9bf Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Thu, 23 Oct 2014 16:41:01 +0200 Subject: [PATCH] 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android-project/src/org/libsdl/app/SDLActivity.java b/android-project/src/org/libsdl/app/SDLActivity.java index ff27b03df..ec6f84c19 100644 --- a/android-project/src/org/libsdl/app/SDLActivity.java +++ b/android-project/src/org/libsdl/app/SDLActivity.java @@ -132,7 +132,7 @@ public class SDLActivity extends Activity { SDLActivity.mSingleton.finish(); } }); - dlgAlert.setCancelable(true); + dlgAlert.setCancelable(false); dlgAlert.create().show(); return;