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

Commit 00abd176 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Report toolType on handwriting start" into udc-dev

parents 9ea64297 a8756030
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -7017,6 +7017,10 @@ public final class ViewRootImpl implements ViewParent,
        private int processPointerEvent(QueuedInputEvent q) {
            final MotionEvent event = (MotionEvent)q.mEvent;
            boolean handled = mHandwritingInitiator.onTouchEvent(event);
            if (handled) {
                // If handwriting is started, toolkit doesn't receive ACTION_UP.
                mLastClickToolType = event.getToolType(event.getActionIndex());
            }

            mAttachInfo.mUnbufferedDispatchRequested = false;
            mAttachInfo.mHandlingPointerEvent = true;