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

Commit d3530ed9 authored by Chun-Ku Lin's avatar Chun-Ku Lin
Browse files

[Flag cleanup] fix_drag_pointer_when_ending_drag

This flag is in trunkfood full for few month. We can clean up the flag
usage of this bug fix.

Bug: 300002193
Bug: 316386865
Test: N/A
Flag: N/A
Change-Id: I6c98222623fa0dd15370bba3a5c5365fce3e4e7c
parent 242d628b
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();