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

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

[IL110] Remove an unused interface function

...and make a method private.

Bug: 8636060
Change-Id: If16f7e8ef3779f77a9db23fb7c54e7c23b043b86
parent 4423f3da
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1316,8 +1316,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
        // Nothing to do so far.
    }

    // TODO[IL]: Define a clear interface for this
    public boolean isSuggestionStripVisible() {
    private boolean isSuggestionStripVisible() {
        if (!hasSuggestionStripView()) {
            return false;
        }
@@ -1341,7 +1340,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
        return currentSettings.isSuggestionsRequested();
    }

    @Override
    public boolean hasSuggestionStripView() {
        return null != mSuggestionStripView;
    }
+0 −1
Original line number Diff line number Diff line
@@ -22,7 +22,6 @@ import com.android.inputmethod.latin.SuggestedWords;
 * An object that gives basic control of a suggestion strip and some info on it.
 */
public interface SuggestionStripViewAccessor {
    public boolean hasSuggestionStripView();
    public void showAddToDictionaryHint(final String word);
    public boolean isShowingAddToDictionaryHint();
    public void dismissAddToDictionaryHint();