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

Change-Id: Ifca5cf1c8878caa2ff5db60c865cd78f2008e1dc
This commit is contained in:
Minche Li
2020-04-28 02:08:42 +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);