diff options
author | 2013-10-09 21:26:14 -0700 | |
---|---|---|
committer | 2013-10-09 21:26:14 -0700 | |
commit | d24cb579f8051f474e80510490e5fe668abbbe01 (patch) | |
tree | 3b37ffd984e8e7520300ad8bea6ebfa7347d3617 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | e1e95fd2e48ad639d9df38be565abd9c71007c19 (diff) | |
parent | e167265f748fc1965b38a95bf723ceb31e6bd436 (diff) | |
download | latinime-d24cb579f8051f474e80510490e5fe668abbbe01.tar.gz latinime-d24cb579f8051f474e80510490e5fe668abbbe01.tar.xz latinime-d24cb579f8051f474e80510490e5fe668abbbe01.zip |
am e167265f: am 4a0af2cb: am 291ef1c9: Merge "Clear the cache of subtypes in onStartInputViewInternal"
* commit 'e167265f748fc1965b38a95bf723ceb31e6bd436':
Clear the cache of subtypes in onStartInputViewInternal
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 2 |
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, |