aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorSatoshi Kataoka <satok@google.com>2013-10-07 20:10:58 +0900
committerSatoshi Kataoka <satok@google.com>2013-10-07 20:10:58 +0900
commit4be5f221e6019d67736266d35b68b8d5f8d06101 (patch)
treee149e1b734a1e47df5b290ed17b29a89caff2ba5 /java/src
parent7da62bbe24e86ba95cab95cb5f10023ea07c08c5 (diff)
downloadlatinime-4be5f221e6019d67736266d35b68b8d5f8d06101.tar.gz
latinime-4be5f221e6019d67736266d35b68b8d5f8d06101.tar.xz
latinime-4be5f221e6019d67736266d35b68b8d5f8d06101.zip
Clear the cache of subtypes in onStartInputViewInternal
Bug: 11077905 Change-Id: I9495f13a20edca0e6153cd1a7a0ac6891f707c59
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,