Merge "Clear previous suggestions when gesture typing starts"

main
Tadashi G. Takaoka 2013-06-03 09:27:55 +00:00 committed by Android (Google) Code Review
commit 2a529b85d0
1 changed files with 3 additions and 1 deletions

View File

@ -1637,8 +1637,10 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
public void onStartBatchInput(final LatinIME latinIme) {
synchronized (mLock) {
mHandler.removeMessages(MSG_UPDATE_GESTURE_PREVIEW_AND_SUGGESTION_STRIP);
mLatinIme = latinIme;
mInBatchInput = true;
mLatinIme = latinIme;
mLatinIme.mHandler.showGesturePreviewAndSuggestionStrip(
SuggestedWords.EMPTY, false /* dismissGestureFloatingPreviewText */);
}
}