mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
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.
This commit is contained in:
parent
425a06a9ea
commit
775a802627
@ -132,7 +132,7 @@ public class SDLActivity extends Activity {
|
|||||||
SDLActivity.mSingleton.finish();
|
SDLActivity.mSingleton.finish();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
dlgAlert.setCancelable(true);
|
dlgAlert.setCancelable(false);
|
||||||
dlgAlert.create().show();
|
dlgAlert.create().show();
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user