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

Commit 8f3e37a6 authored by Jean Chalard's avatar Jean Chalard Committed by Android (Google) Code Review
Browse files

Merge "[IL87] Remove a call to clearSuggestionStrip"

parents 521a83a3 d90bdd21
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -1457,12 +1457,8 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen

    // TODO[IL]: Define a clean interface for this
    public void showSuggestionStrip(final SuggestedWords suggestedWords) {
        if (suggestedWords.isEmpty()) {
            clearSuggestionStrip();
            return;
        }
        showSuggestionStripWithTypedWord(suggestedWords,
                suggestedWords.getWord(SuggestedWords.INDEX_OF_TYPED_WORD));
        showSuggestionStripWithTypedWord(suggestedWords, suggestedWords.isEmpty() ? null
                : suggestedWords.getWord(SuggestedWords.INDEX_OF_TYPED_WORD));
    }

    // Called from {@link SuggestionStripView} through the {@link SuggestionStripView#Listener}