diff options
author | 2014-01-29 19:47:01 -0800 | |
---|---|---|
committer | 2014-01-29 19:47:01 -0800 | |
commit | 285ab4af53e4d6dc16d15c8486ffe8d8649b99e3 (patch) | |
tree | ff85c4917b9a362deff15145bb846480f74039e5 /java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java | |
parent | b18c22082be8ba3522e2f3adb4fa2f1e9c7463ca (diff) | |
parent | e5040f6b0d4101c55c11d5e200dc2b203b7cbdc0 (diff) | |
download | latinime-285ab4af53e4d6dc16d15c8486ffe8d8649b99e3.tar.gz latinime-285ab4af53e4d6dc16d15c8486ffe8d8649b99e3.tar.xz latinime-285ab4af53e4d6dc16d15c8486ffe8d8649b99e3.zip |
am e5040f6b: Merge "[IL103] Save the typed word separately in SuggestedWords."
* commit 'e5040f6b0d4101c55c11d5e200dc2b203b7cbdc0':
[IL103] Save the typed word separately in SuggestedWords.
Diffstat (limited to 'java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java index ce3ef5374..c02f7318a 100644 --- a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java +++ b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java @@ -1225,11 +1225,10 @@ public final class InputLogic { } else { // We found suggestion spans in the word. We'll create the SuggestedWords out of // them, and make willAutoCorrect false. - final SuggestedWords suggestedWords = new SuggestedWords(suggestions, + final SuggestedWords suggestedWords = new SuggestedWords(suggestions, typedWord, true /* typedWordValid */, false /* willAutoCorrect */, false /* isPunctuationSuggestions */, false /* isObsoleteSuggestions */, - false /* isPrediction */); - // We need to pass typedWord because mWordComposer.mTypedWord may differ from typedWord. + false /* isPrediction */, SuggestedWords.NOT_A_SEQUENCE_NUMBER); mLatinIME.unsetIsAutoCorrectionIndicatorOnAndCallShowSuggestionStrip(suggestedWords, typedWord); } |