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

Commit f23a216b authored by Eghosa Ewansiha-Vlachavas's avatar Eghosa Ewansiha-Vlachavas Committed by Android (Google) Code Review
Browse files

Merge "Store a copy of the motion event" into main

parents f1b6e8c5 c597177a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -642,7 +642,7 @@ class DragResizeInputListener implements AutoCloseable {
                                "%s: Handling action down, update ctrlType to %d", TAG, ctrlType);
                        mDragStartTaskBounds = mCallback.onDragPositioningStart(ctrlType,
                                e.getDisplayId(), rawX, rawY);
                        mLastMotionEventOnDown = e;
                        mLastMotionEventOnDown = MotionEvent.obtain(e);
                        mResizeTrigger = (ctrlType == CTRL_TYPE_BOTTOM || ctrlType == CTRL_TYPE_TOP
                                || ctrlType == CTRL_TYPE_RIGHT || ctrlType == CTRL_TYPE_LEFT)
                                ? ResizeTrigger.EDGE : ResizeTrigger.CORNER;