Merge "Clear previous suggestions when gesture typing starts"
commit
2a529b85d0
|
@ -1637,8 +1637,10 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
||||||
public void onStartBatchInput(final LatinIME latinIme) {
|
public void onStartBatchInput(final LatinIME latinIme) {
|
||||||
synchronized (mLock) {
|
synchronized (mLock) {
|
||||||
mHandler.removeMessages(MSG_UPDATE_GESTURE_PREVIEW_AND_SUGGESTION_STRIP);
|
mHandler.removeMessages(MSG_UPDATE_GESTURE_PREVIEW_AND_SUGGESTION_STRIP);
|
||||||
mLatinIme = latinIme;
|
|
||||||
mInBatchInput = true;
|
mInBatchInput = true;
|
||||||
|
mLatinIme = latinIme;
|
||||||
|
mLatinIme.mHandler.showGesturePreviewAndSuggestionStrip(
|
||||||
|
SuggestedWords.EMPTY, false /* dismissGestureFloatingPreviewText */);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue