Merge "Fix tap gesture on touch pads."
This commit is contained in:
@@ -3394,8 +3394,6 @@ void TouchInputMapper::sync(nsecs_t when) {
|
|||||||
pointerUsage = POINTER_USAGE_MOUSE;
|
pointerUsage = POINTER_USAGE_MOUSE;
|
||||||
} else if (!mCurrentFingerIdBits.isEmpty() || isPointerDown(mCurrentButtonState)) {
|
} else if (!mCurrentFingerIdBits.isEmpty() || isPointerDown(mCurrentButtonState)) {
|
||||||
pointerUsage = POINTER_USAGE_GESTURES;
|
pointerUsage = POINTER_USAGE_GESTURES;
|
||||||
} else {
|
|
||||||
pointerUsage = POINTER_USAGE_NONE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dispatchPointerUsage(when, policyFlags, pointerUsage);
|
dispatchPointerUsage(when, policyFlags, pointerUsage);
|
||||||
|
|||||||
Reference in New Issue
Block a user