aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorSatoshi Kataoka <satok@google.com>2013-10-07 04:35:25 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-10-07 04:35:25 -0700
commit4a0af2cbbac5a1a0de339f1a907f8b3c2a64b833 (patch)
tree6e6439f2f73a045160efbec0e9b343f762e7d8ab /java/src
parent0675d37487f8f2ec92b0984b3ff28a5cd1d7a07e (diff)
parent291ef1c9c304bc6eae352e08f4ca86854853ee29 (diff)
downloadlatinime-4a0af2cbbac5a1a0de339f1a907f8b3c2a64b833.tar.gz
latinime-4a0af2cbbac5a1a0de339f1a907f8b3c2a64b833.tar.xz
latinime-4a0af2cbbac5a1a0de339f1a907f8b3c2a64b833.zip
am 291ef1c9: Merge "Clear the cache of subtypes in onStartInputViewInternal"
* commit '291ef1c9c304bc6eae352e08f4ca86854853ee29': Clear the cache of subtypes in onStartInputViewInternal
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index d51c63dd3..851f9677f 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -808,6 +808,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
@SuppressWarnings("deprecation")
private void onStartInputViewInternal(final EditorInfo editorInfo, final boolean restarting) {
super.onStartInputView(editorInfo, restarting);
+ mRichImm.clearSubtypeCaches();
final KeyboardSwitcher switcher = mKeyboardSwitcher;
final MainKeyboardView mainKeyboardView = switcher.getMainKeyboardView();
// If we are starting input in a different text field from before, we'll have to reload
@@ -1049,7 +1050,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
// Should do the following in onFinishInputInternal but until JB MR2 it's not called :(
if (mWordComposer.isComposingWord()) mConnection.finishComposingText();
resetComposingState(true /* alsoResetLastComposedWord */);
- mRichImm.clearSubtypeCaches();
// Notify ResearchLogger
if (ProductionFlag.USES_DEVELOPMENT_ONLY_DIAGNOSTICS) {
ResearchLogger.latinIME_onFinishInputViewInternal(finishingInput, mLastSelectionStart,