Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 609fb7d9 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka Committed by Android (Google) Code Review
Browse files

Merge "Show last valid suggestions when tap typing gets no suggestion"

parents c3363e8e b808188b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 {