am ac25fcac: Display punctuation suggestions on cursor move

* commit 'ac25fcac717b0d28dfb2cd5c8ecd4fde839c4eeb':
  Display punctuation suggestions on cursor move
This commit is contained in:
Jean Chalard 2012-09-04 05:06:01 -07:00 committed by Android Git Automerger
commit df7c3683c5

View file

@ -1045,7 +1045,11 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
// the composing word, reset the last composed word, tell the inputconnection about it.
private void resetEntireInputState() {
resetComposingState(true /* alsoResetLastComposedWord */);
clearSuggestionStrip();
if (mCurrentSettings.mBigramPredictionEnabled) {
clearSuggestionStrip();
} else {
setSuggestionStrip(mCurrentSettings.mSuggestPuncList, false);
}
mConnection.finishComposingText();
}