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

Commit d90bdd21 authored by Jean Chalard's avatar Jean Chalard
Browse files

[IL87] Remove a call to clearSuggestionStrip

The goal is to remove the function completely.

Bug: 8636060
Change-Id: I50b8f0368c8f6506209398ff931881e2235c3d2d
parent 3b939ed7
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}