You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Fix null in android keyboard handling.
This commit is contained in:
@@ -122,7 +122,7 @@ public class GodotTextInputWrapper implements TextWatcher, OnEditorActionListene
|
||||
|
||||
@Override
|
||||
public boolean onEditorAction(final TextView pTextView, final int pActionID, final KeyEvent pKeyEvent) {
|
||||
if (this.mEdit == pTextView && this.isFullScreenEdit()) {
|
||||
if (this.mEdit == pTextView && this.isFullScreenEdit() && pKeyEvent != null) {
|
||||
final String characters = pKeyEvent.getCharacters();
|
||||
|
||||
for (int i = 0; i < characters.length(); i++) {
|
||||
|
||||
Reference in New Issue
Block a user