diff options
author | 2012-12-17 14:15:56 +0900 | |
---|---|---|
committer | 2012-12-17 14:32:18 +0900 | |
commit | b808188b2f331c3003c045fb4d25037e56f63ce0 (patch) | |
tree | 243d3001fc59afe9644a55b27dcf5508c8ab9581 /java/src | |
parent | d15e80d6e2c32d4342e9e0b0d05305032f19c51a (diff) | |
download | latinime-b808188b2f331c3003c045fb4d25037e56f63ce0.tar.gz latinime-b808188b2f331c3003c045fb4d25037e56f63ce0.tar.xz latinime-b808188b2f331c3003c045fb4d25037e56f63ce0.zip |
Show last valid suggestions when tap typing gets no suggestion
Bug: 7872809
Change-Id: Ib5a255de7968aba214249c1b934327d248a15efd
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 2 |
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 6a198000a..8aa199b07 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -2020,7 +2020,7 @@ public final class LatinIME extends InputMethodService implements KeyboardAction // 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 + || suggestedWords.mTypedWordValid || mSuggestionStripView.isShowingAddToDictionaryHint()) { return suggestedWords; } else { |