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

Commit b9445141 authored by Adam Powell's avatar Adam Powell Committed by Android Git Automerger
Browse files

am f1faf774: Merge "DO NOT MERGE GestureDetector - Mask action when checking...

am f1faf774: Merge "DO NOT MERGE GestureDetector - Mask action when checking POINTER_UP" into jb-dev

* commit 'f1faf774':
  DO NOT MERGE GestureDetector - Mask action when checking POINTER_UP
parents 0e90f738 f1faf774
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -453,7 +453,8 @@ public class GestureDetector {
        }
        mVelocityTracker.addMovement(ev);

        final boolean pointerUp = action == MotionEvent.ACTION_POINTER_UP;
        final boolean pointerUp =
                (action & MotionEvent.ACTION_MASK) == MotionEvent.ACTION_POINTER_UP;
        final int skipIndex = pointerUp ? ev.getActionIndex() : -1;

        // Determine focal point