Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9ff7354d authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Clear previous suggestions when gesture typing starts

Bug: 8651076
Change-Id: Ic65ed3e3696409edea4e35080c11e4d1869a5a7e
parent 0e66ab74
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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 */);
            }
        }