Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 616827a
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -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")
Expand Down

0 comments on commit 616827a

Please sign in to comment.