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

Commit 4ce06dff authored by Minche Li's avatar Minche Li Committed by Android (Google) Code Review
Browse files

Merge "Adjust down event location when two-finger dragging in TouchExplorer" into rvc-dev

parents b80eb1ec 004bed28
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -566,6 +566,7 @@ public class TouchExplorer extends BaseEventStreamTransformation
                    // a given distance perform a drag.
                    mState.startDragging();
                    mDraggingPointerId = pointerId;
                    adjustEventLocationForDrag(event);
                    event.setEdgeFlags(mReceivedPointerTracker.getLastReceivedDownEdgeFlags());
                    mDispatcher.sendMotionEvent(
                            event, MotionEvent.ACTION_DOWN, rawEvent, pointerIdBits, policyFlags);