diff options
author | 2014-01-27 09:24:10 +0000 | |
---|---|---|
committer | 2014-01-27 09:24:10 +0000 | |
commit | 7bee84095e24a9e21e8a2146f7bb9d1ad2cd89ba (patch) | |
tree | 74b0bfc710928e1020cb39d65ad8207501fc6ea3 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | 829ad708db7bc3c9a0eabad8d3e410da400f36e6 (diff) | |
parent | 969c06072db7f530806a4d0581ce588f01d09dc2 (diff) | |
download | latinime-7bee84095e24a9e21e8a2146f7bb9d1ad2cd89ba.tar.gz latinime-7bee84095e24a9e21e8a2146f7bb9d1ad2cd89ba.tar.xz latinime-7bee84095e24a9e21e8a2146f7bb9d1ad2cd89ba.zip |
Merge "[IL75] Move the SubtypeSwitcher out of InputLogic."
Diffstat (limited to '')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 8dd2daee4..5083c7798 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1285,8 +1285,11 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen } else { codeToSend = codePoint; } - mInputLogic.onCodeInput(codeToSend, keyX, keyY, mHandler, mKeyboardSwitcher, - mSubtypeSwitcher); + if (Constants.CODE_SHORTCUT == codePoint) { + mSubtypeSwitcher.switchToShortcutIME(this); + // Still call the *#onCodeInput methods for readability. + } + mInputLogic.onCodeInput(codeToSend, keyX, keyY, mHandler, mKeyboardSwitcher); mKeyboardSwitcher.onCodeInput(codePoint); } |