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

Commit 40624352 authored by Taran Singh's avatar Taran Singh Committed by Android (Google) Code Review
Browse files

Merge "Always deliver toolType from toolkit to IME" into main

parents d54e98a7 123d8bf9
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -3560,8 +3560,7 @@ public final class InputMethodManagerService extends IInputMethodManager.Stub
            ImeTracker.forLogging().onProgress(statsToken, ImeTracker.PHASE_SERVER_HAS_IME);
            mCurStatsToken = null;

            if (!Flags.useHandwritingListenerForTooltype()
                    && lastClickToolType != MotionEvent.TOOL_TYPE_UNKNOWN) {
            if (lastClickToolType != MotionEvent.TOOL_TYPE_UNKNOWN) {
                curMethod.updateEditorToolType(lastClickToolType);
            }
            mVisibilityApplier.performShowIme(windowToken, statsToken,