am 7e70e9dc: Merge "[IL110] Remove an unused interface function"
* commit '7e70e9dc49785c8ac1a3bdbd6cd51d7943e7eec0': [IL110] Remove an unused interface functionmain
commit
8c55e28c0e
|
@ -1316,8 +1316,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
||||||
// Nothing to do so far.
|
// Nothing to do so far.
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO[IL]: Define a clear interface for this
|
private boolean isSuggestionStripVisible() {
|
||||||
public boolean isSuggestionStripVisible() {
|
|
||||||
if (!hasSuggestionStripView()) {
|
if (!hasSuggestionStripView()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -1341,7 +1340,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
||||||
return currentSettings.isSuggestionsRequested();
|
return currentSettings.isSuggestionsRequested();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean hasSuggestionStripView() {
|
public boolean hasSuggestionStripView() {
|
||||||
return null != mSuggestionStripView;
|
return null != mSuggestionStripView;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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.
|
* An object that gives basic control of a suggestion strip and some info on it.
|
||||||
*/
|
*/
|
||||||
public interface SuggestionStripViewAccessor {
|
public interface SuggestionStripViewAccessor {
|
||||||
public boolean hasSuggestionStripView();
|
|
||||||
public void showAddToDictionaryHint(final String word);
|
public void showAddToDictionaryHint(final String word);
|
||||||
public boolean isShowingAddToDictionaryHint();
|
public boolean isShowingAddToDictionaryHint();
|
||||||
public void dismissAddToDictionaryHint();
|
public void dismissAddToDictionaryHint();
|
||||||
|
|
Loading…
Reference in New Issue