Skip to content

Commit 26d5155

Browse files
authored
InputType.TYPE_TEXT_FLAG_MULTI_LINE forces InputType.TYPE_TEXT even if SDLActivity.keyboardInputType is NULL (kivy#2716)
1 parent 25ed4d0 commit 26d5155

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonforandroid/bootstraps/sdl2/build/src/patches/SDLActivity.java.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969

7070
- outAttrs.inputType = InputType.TYPE_CLASS_TEXT |
7171
- InputType.TYPE_TEXT_FLAG_MULTI_LINE;
72-
+ outAttrs.inputType = SDLActivity.keyboardInputType | InputType.TYPE_TEXT_FLAG_MULTI_LINE;
72+
+ outAttrs.inputType = SDLActivity.keyboardInputType;
7373
outAttrs.imeOptions = EditorInfo.IME_FLAG_NO_EXTRACT_UI |
7474
EditorInfo.IME_FLAG_NO_FULLSCREEN /* API 11 */;
7575

0 commit comments

Comments
 (0)