Fixed bug 4906 - Pressing Back button terminates app after SDL_StartTextInput

This commit is contained in:
Sylvain Becker 2019-12-19 13:54:03 +01:00
parent 4237b1834e
commit 5d5a56717f

View File

@ -633,6 +633,8 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
imm.hideSoftInputFromWindow(mTextEdit.getWindowToken(), 0); imm.hideSoftInputFromWindow(mTextEdit.getWindowToken(), 0);
mScreenKeyboardShown = false; mScreenKeyboardShown = false;
mSurface.requestFocus();
} }
break; break;
case COMMAND_SET_KEEP_SCREEN_ON: case COMMAND_SET_KEEP_SCREEN_ON: