mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Fix null in android keyboard handling.
This commit is contained in:
parent
57ffc4d82c
commit
88df3e8d53
@ -122,7 +122,7 @@ public class GodotTextInputWrapper implements TextWatcher, OnEditorActionListene
|
||||
|
||||
@Override
|
||||
public boolean onEditorAction(final TextView pTextView, final int pActionID, final KeyEvent pKeyEvent) {
|
||||
if (mEdit == pTextView && isFullScreenEdit()) {
|
||||
if (mEdit == pTextView && isFullScreenEdit() && pKeyEvent != null) {
|
||||
final String characters = pKeyEvent.getCharacters();
|
||||
|
||||
for (int i = 0; i < characters.length(); i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user