diff options
author | 2013-12-26 03:48:16 -0800 | |
---|---|---|
committer | 2013-12-26 03:48:16 -0800 | |
commit | 1212122d921bd8704f4020ae2b39a67778d4c2df (patch) | |
tree | a296f818a350560057ff93e28d630eec6d483ba8 | |
parent | 94982318e94c2d3b105fc1a2f08a7f3ed0cbc860 (diff) | |
parent | 5c45ff12140c801448d0bef1991d803edc674fb8 (diff) | |
download | latinime-1212122d921bd8704f4020ae2b39a67778d4c2df.tar.gz latinime-1212122d921bd8704f4020ae2b39a67778d4c2df.tar.xz latinime-1212122d921bd8704f4020ae2b39a67778d4c2df.zip |
am 5c45ff12: [IL39] Change a test.
* commit '5c45ff12140c801448d0bef1991d803edc674fb8':
[IL39] Change a test.
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 7041c5688..182356c80 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1579,12 +1579,12 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen // TODO: consolidate this into getSuggestedWords // We update the suggestion strip only when we have some suggestions to show, i.e. when // the suggestion count is > 1; else, we leave the old suggestions, with the typed word - // replaced with the new one. However, when the word is a dictionary word, or when the - // length of the typed word is 1 or 0 (after a deletion typically), we do want to remove the - // old suggestions. Also, if we are showing the "add to dictionary" hint, we need to - // revert to suggestions - although it is unclear how we can come here if it's displayed. + // replaced with the new one. However, when the length of the typed word is 1 or 0 (after + // a deletion typically), we do want to remove the old suggestions. Also, if we are showing + // the "add to dictionary" hint, we need to revert to suggestions - although it is unclear + // how we can come here if it's displayed. if (suggestedWords.size() > 1 || typedWord.length() <= 1 - || suggestedWords.mTypedWordValid || null == mSuggestionStripView + || null == mSuggestionStripView || mSuggestionStripView.isShowingAddToDictionaryHint()) { return suggestedWords; } else { |