am f1faf774: Merge "DO NOT MERGE GestureDetector - Mask action when checking POINTER_UP" into jb-dev
* commit 'f1faf7743f39f56cc57d6f2a520e5c8ecf4e58b5': DO NOT MERGE GestureDetector - Mask action when checking POINTER_UP
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user