mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Fixed bug 4906 - Pressing Back button terminates app after SDL_StartTextInput
This commit is contained in:
parent
4237b1834e
commit
5d5a56717f
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user