mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
bugfix in the keyboard
This commit is contained in:
@@ -508,8 +508,12 @@ public class TranslatorInputMethodService extends InputMethodService
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i = 0; i < keyCodes.length && keyCodes[i] > 0; i++)
|
if (keyCodes.length > 0 && keyCodes[0] > 0) {
|
||||||
mComposing.append((char) keyCodes[i]);
|
for (int i = 0; i < keyCodes.length && keyCodes[i] > 0; i++)
|
||||||
|
mComposing.append((char) keyCodes[i]);
|
||||||
|
} else {
|
||||||
|
mComposing.append((char) primaryCode);
|
||||||
|
}
|
||||||
|
|
||||||
if (primaryCode == 10)
|
if (primaryCode == 10)
|
||||||
commitTyped(getCurrentInputConnection());
|
commitTyped(getCurrentInputConnection());
|
||||||
|
|||||||
Reference in New Issue
Block a user