mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Fix typo
Follow up for I5b9964f2 Bug: 6129704 Change-Id: Ia90c013cf4c4e6f675da5701644bd10833898c3f
This commit is contained in:
parent
0d1a5d5b97
commit
8f433a66b2
@ -1175,7 +1175,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
|||||||
return keyboard != null ? keyboard.mId.imeActionId() : EditorInfo.IME_ACTION_NONE;
|
return keyboard != null ? keyboard.mId.imeActionId() : EditorInfo.IME_ACTION_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void performeEditorAction(int actionId) {
|
private void performEditorAction(int actionId) {
|
||||||
final InputConnection ic = getCurrentInputConnection();
|
final InputConnection ic = getCurrentInputConnection();
|
||||||
if (ic != null) {
|
if (ic != null) {
|
||||||
ic.performEditorAction(actionId);
|
ic.performEditorAction(actionId);
|
||||||
@ -1266,13 +1266,13 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
|||||||
mSubtypeSwitcher.switchToShortcutIME();
|
mSubtypeSwitcher.switchToShortcutIME();
|
||||||
break;
|
break;
|
||||||
case Keyboard.CODE_ACTION_ENTER:
|
case Keyboard.CODE_ACTION_ENTER:
|
||||||
performeEditorAction(getActionId(switcher.getKeyboard()));
|
performEditorAction(getActionId(switcher.getKeyboard()));
|
||||||
break;
|
break;
|
||||||
case Keyboard.CODE_ACTION_NEXT:
|
case Keyboard.CODE_ACTION_NEXT:
|
||||||
performeEditorAction(EditorInfo.IME_ACTION_NEXT);
|
performEditorAction(EditorInfo.IME_ACTION_NEXT);
|
||||||
break;
|
break;
|
||||||
case Keyboard.CODE_ACTION_PREVIOUS:
|
case Keyboard.CODE_ACTION_PREVIOUS:
|
||||||
performeEditorAction(EditorInfo.IME_ACTION_PREVIOUS);
|
performEditorAction(EditorInfo.IME_ACTION_PREVIOUS);
|
||||||
break;
|
break;
|
||||||
case Keyboard.CODE_LANGUAGE_SWITCH:
|
case Keyboard.CODE_LANGUAGE_SWITCH:
|
||||||
handleLanguageSwitchKey();
|
handleLanguageSwitchKey();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user