am 8f3e37a6: Merge "[IL87] Remove a call to clearSuggestionStrip"
* commit '8f3e37a63187f4fb2731f629472037a373796097': [IL87] Remove a call to clearSuggestionStripmain
commit
925f8fcf88
|
@ -1457,12 +1457,8 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
||||||
|
|
||||||
// TODO[IL]: Define a clean interface for this
|
// TODO[IL]: Define a clean interface for this
|
||||||
public void showSuggestionStrip(final SuggestedWords suggestedWords) {
|
public void showSuggestionStrip(final SuggestedWords suggestedWords) {
|
||||||
if (suggestedWords.isEmpty()) {
|
showSuggestionStripWithTypedWord(suggestedWords, suggestedWords.isEmpty() ? null
|
||||||
clearSuggestionStrip();
|
: suggestedWords.getWord(SuggestedWords.INDEX_OF_TYPED_WORD));
|
||||||
return;
|
|
||||||
}
|
|
||||||
showSuggestionStripWithTypedWord(suggestedWords,
|
|
||||||
suggestedWords.getWord(SuggestedWords.INDEX_OF_TYPED_WORD));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Called from {@link SuggestionStripView} through the {@link SuggestionStripView#Listener}
|
// Called from {@link SuggestionStripView} through the {@link SuggestionStripView#Listener}
|
||||||
|
|
Loading…
Reference in New Issue