Merge "Fix typo"
This commit is contained in:
commit
b07939764a
1 changed files with 4 additions and 4 deletions
|
@ -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…
Reference in a new issue