Skip to content
Permalink
Browse files

Fixed bug 4001 - Android, prevent error message box to crash

Sylvain

Prevent the error message box to crash after being clicked.
Because of "SDLActivity.mSingleton.finish();"
  • Loading branch information
slouken committed Dec 19, 2017
1 parent b7be5bc commit 616827ae6472351ee3b923da95106e686c4617c7
Showing with 1 addition and 0 deletions.
  1. +1 −0 android-project/app/src/main/java/org/libsdl/app/SDLActivity.java
@@ -166,6 +166,7 @@ protected void onCreate(Bundle savedInstanceState) {

if (mBrokenLibraries)
{
mSingleton = this;
AlertDialog.Builder dlgAlert = new AlertDialog.Builder(this);
dlgAlert.setMessage("An error occurred while trying to start the application. Please try again and/or reinstall."
+ System.getProperty("line.separator")

0 comments on commit 616827a

Please sign in to comment.