mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-23 04:16:50 +01:00
Ported: Fix null in android text entry system.
- jasonwinterpixel
cec8e09948
This commit is contained in:
parent
dd5ad408e8
commit
e32e0af40f
@ -125,10 +125,12 @@ public class PandemoniumTextInputWrapper implements TextWatcher, OnEditorActionL
|
|||||||
if (this.mEdit == pTextView && this.isFullScreenEdit() && pKeyEvent != null) {
|
if (this.mEdit == pTextView && this.isFullScreenEdit() && pKeyEvent != null) {
|
||||||
final String characters = pKeyEvent.getCharacters();
|
final String characters = pKeyEvent.getCharacters();
|
||||||
|
|
||||||
for (int i = 0; i < characters.length(); i++) {
|
if (characters != null) {
|
||||||
final int ch = characters.codePointAt(i);
|
for (int i = 0; i < characters.length(); i++) {
|
||||||
PandemoniumLib.key(ch, 0, ch, true);
|
final int ch = characters.codePointAt(i);
|
||||||
PandemoniumLib.key(ch, 0, ch, false);
|
PandemoniumLib.key(ch, 0, ch, true);
|
||||||
|
PandemoniumLib.key(ch, 0, ch, false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user