diff options
author | 2014-03-05 18:47:41 +0900 | |
---|---|---|
committer | 2014-03-05 18:47:41 +0900 | |
commit | c6e200ef3ad84f6cb5de8068d33765d27a66305e (patch) | |
tree | d490d1312ec6c2f0b19cfb4e30deddd9062df6ee /java/src | |
parent | 25d912df58dd1a7c524cbd547b03c22435b62817 (diff) | |
download | latinime-c6e200ef3ad84f6cb5de8068d33765d27a66305e.tar.gz latinime-c6e200ef3ad84f6cb5de8068d33765d27a66305e.tar.xz latinime-c6e200ef3ad84f6cb5de8068d33765d27a66305e.zip |
Correctly update the suggestion strip on non-resumable word
Bug: 13303965
Change-Id: Iedc5d38f70af76fbebb99e59a0d17c1e226c810d
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java index 0e4374aa3..f7cf8dea1 100644 --- a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java +++ b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java @@ -1295,7 +1295,10 @@ public final class InputLogic { SuggestedWordInfo.NOT_AN_INDEX /* indexOfTouchPointOfSecondWord */, SuggestedWordInfo.NOT_A_CONFIDENCE /* autoCommitFirstWordConfidence */)); } - if (!isResumableWord(settingsValues, typedWord)) return; + if (!isResumableWord(settingsValues, typedWord)) { + mSuggestionStripViewAccessor.setNeutralSuggestionStrip(); + return; + } int i = 0; for (final SuggestionSpan span : range.getSuggestionSpansAtWord()) { for (final String s : span.getSuggestions()) { |