Simplification (A62)
Change-Id: I606270a0387787445b7cd6b94e4830bfc144b49e
This commit is contained in:
parent
362ea3cacb
commit
8ba33c1a49
1 changed files with 4 additions and 9 deletions
|
@ -1523,15 +1523,10 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
||||||
swapSwapperAndSpace();
|
swapSwapperAndSpace();
|
||||||
mSpaceState = SPACE_STATE_WEAK;
|
mSpaceState = SPACE_STATE_WEAK;
|
||||||
}
|
}
|
||||||
// Some characters are not word separators, yet they don't start a new
|
// We may need to update predictions, if the "add to dictionary" hint was displayed
|
||||||
// composing span. For these, we haven't changed the suggestion strip, and
|
// for example.
|
||||||
// if the "add to dictionary" hint is shown, we should do so now. Examples of
|
if (null != mSuggestionsView) mSuggestionsView.dismissAddToDictionaryHint();
|
||||||
// such characters include single quote, dollar, and others; the exact list is
|
mHandler.postUpdateBigramPredictions();
|
||||||
// the list of characters for which we enter handleCharacterWhileInBatchEdit
|
|
||||||
// that don't match the test if ((isAlphabet...)) at the top of this method.
|
|
||||||
if (null != mSuggestionsView && mSuggestionsView.dismissAddToDictionaryHint()) {
|
|
||||||
mHandler.postUpdateBigramPredictions();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
Utils.Stats.onNonSeparator((char)primaryCode, x, y);
|
Utils.Stats.onNonSeparator((char)primaryCode, x, y);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue