Merge "[IL110] Remove an unused interface function"

main
Jean Chalard 2014-02-26 09:08:29 +00:00 committed by Android (Google) Code Review
commit 7e70e9dc49
2 changed files with 1 additions and 4 deletions

View File

@ -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;
}

View File

@ -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();