aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2012-12-16 22:55:11 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2012-12-16 22:55:11 -0800
commit147bbc150cb185df859b66d369523b5b95ef775b (patch)
tree59beb869d024c795de12ea3286a67874896eadd5 /java/src
parentac2f4c0191931d84569510b483467ee83217b20f (diff)
parent609fb7d9400ecd88fefe9c6455e71c974e897488 (diff)
downloadlatinime-147bbc150cb185df859b66d369523b5b95ef775b.tar.gz
latinime-147bbc150cb185df859b66d369523b5b95ef775b.tar.xz
latinime-147bbc150cb185df859b66d369523b5b95ef775b.zip
am 609fb7d9: Merge "Show last valid suggestions when tap typing gets no suggestion"
* commit '609fb7d9400ecd88fefe9c6455e71c974e897488': Show last valid suggestions when tap typing gets no suggestion
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java2
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 {