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

Commit efeedcc5 authored by Ameer Armaly's avatar Ameer Armaly Committed by Android (Google) Code Review
Browse files

Merge "[Flag cleanup] fix_drag_pointer_when_ending_drag" into main

parents 39f9dd97 d3530ed9
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -1469,10 +1469,7 @@ public class TouchExplorer extends BaseEventStreamTransformation
            int policyFlags = mState.getLastReceivedPolicyFlags();
            if (mState.isDragging()) {
                // Send an event to the end of the drag gesture.
                int pointerIdBits = ALL_POINTER_ID_BITS;
                if (Flags.fixDragPointerWhenEndingDrag()) {
                    pointerIdBits = 1 << mDraggingPointerId;
                }
                int pointerIdBits = 1 << mDraggingPointerId;
                mDispatcher.sendMotionEvent(event, ACTION_UP, rawEvent, pointerIdBits, policyFlags);
            }
            mState.startDelegating();