Merge "Correctly update the suggestion strip on non-resumable word"
This commit is contained in:
commit
4da06b9a19
1 changed files with 4 additions and 1 deletions
|
@ -1304,7 +1304,10 @@ public final class InputLogic {
|
|||
SuggestedWordInfo.NOT_AN_INDEX /* indexOfTouchPointOfSecondWord */,
|
||||
SuggestedWordInfo.NOT_A_CONFIDENCE /* autoCommitFirstWordConfidence */));
|
||||
}
|
||||
if (!isResumableWord(settingsValues, typedWord)) return;
|
||||
if (!isResumableWord(settingsValues, typedWord)) {
|
||||
mSuggestionStripViewAccessor.setNeutralSuggestionStrip();
|
||||
return;
|
||||
}
|
||||
int i = 0;
|
||||
for (final SuggestionSpan span : range.getSuggestionSpansAtWord()) {
|
||||
for (final String s : span.getSuggestions()) {
|
||||
|
|
Loading…
Reference in a new issue