diff options
author | 2012-03-15 13:12:08 +0900 | |
---|---|---|
committer | 2012-03-15 13:12:08 +0900 | |
commit | 03a35170751a635332c00bf6c272a0127a255cf6 (patch) | |
tree | 372902933a420c5133f1019fc6187c65c5b28866 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | 5f9593593ebaa32e17d5f26918a0efef87f0a83b (diff) | |
download | latinime-03a35170751a635332c00bf6c272a0127a255cf6.tar.gz latinime-03a35170751a635332c00bf6c272a0127a255cf6.tar.xz latinime-03a35170751a635332c00bf6c272a0127a255cf6.zip |
Add info for obsolete suggestions in SuggestedWords
Change-Id: I9684c7b08244b34853ce8a99b6e9d885389f6687
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 9f5931de9..42dd766fa 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -931,7 +931,8 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar false /* typedWordValid */, false /* hasAutoCorrectionCandidate */, false /* allowsToBeAutoCorrected */, - false /* isPunctuationSuggestions */); + false /* isPunctuationSuggestions */, + false /* isObsoleteSuggestions */); // When in fullscreen mode, show completions generated by the application final boolean isAutoCorrection = false; setSuggestions(suggestedWords, isAutoCorrection); @@ -1793,7 +1794,8 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar false /* typedWordValid */, false /* hasAutoCorrectionCandidate */, false /* allowsToBeAutoCorrected */, - false /* isPunctuationSuggestions */); + false /* isPunctuationSuggestions */, + true /* isObsoleteSuggestions */); showSuggestions(obsoleteSuggestedWords, typedWord); } } |