Remove a useless test
If we are not composing a word here, we have already returned Change-Id: I63281abace777e3658286d4df6781d2cd5a29c33main
parent
c5d2bb786e
commit
d5f618e90a
|
@ -1834,9 +1834,6 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
||||||
} else {
|
} else {
|
||||||
SuggestedWords previousSuggestions = mSuggestionsView.getSuggestions();
|
SuggestedWords previousSuggestions = mSuggestionsView.getSuggestions();
|
||||||
if (previousSuggestions == mSettingsValues.mSuggestPuncList) {
|
if (previousSuggestions == mSettingsValues.mSuggestPuncList) {
|
||||||
if (!mWordComposer.isComposingWord()) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
previousSuggestions = SuggestedWords.EMPTY;
|
previousSuggestions = SuggestedWords.EMPTY;
|
||||||
}
|
}
|
||||||
final SuggestedWords.Builder obsoleteSuggestionsBuilder = new SuggestedWords.Builder()
|
final SuggestedWords.Builder obsoleteSuggestionsBuilder = new SuggestedWords.Builder()
|
||||||
|
|
Loading…
Reference in New Issue