Merge "Fix typo"

This commit is contained in:
Tadashi G. Takaoka 2012-04-03 01:31:47 -07:00 committed by Android (Google) Code Review
commit b07939764a

View file

@ -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();