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

Change-Id: Ia2457cc2a4c2dcf0f88d8be8385422ae16f02d93
This commit is contained in:
Minche Li
2020-04-28 01:50:00 +00:00
committed by Automerger Merge Worker

View File

@@ -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);