am 2a529b85: Merge "Clear previous suggestions when gesture typing starts"

* commit '2a529b85d084b1534a29b25efd27aaf881e399d1':
  Clear previous suggestions when gesture typing starts
This commit is contained in:
Tadashi G. Takaoka 2013-06-03 02:30:36 -07:00 committed by Android Git Automerger
commit 3e543e2725

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 */);
}
}