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
This commit is contained in:
commit
147bbc150c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
// 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.
|
// revert to suggestions - although it is unclear how we can come here if it's displayed.
|
||||||
if (suggestedWords.size() > 1 || typedWord.length() <= 1
|
if (suggestedWords.size() > 1 || typedWord.length() <= 1
|
||||||
|| !suggestedWords.mTypedWordValid
|
|| suggestedWords.mTypedWordValid
|
||||||
|| mSuggestionStripView.isShowingAddToDictionaryHint()) {
|
|| mSuggestionStripView.isShowingAddToDictionaryHint()) {
|
||||||
return suggestedWords;
|
return suggestedWords;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue