Fix tap gesture on touch pads.

Change-Id: I92b23e5971d4b98b173aacd64fe03ce9f0755c88
This commit is contained in:
Jeff Brown
2011-08-19 16:04:30 -07:00
parent 65fd251c39
commit a66cee134e

View File

@@ -3394,8 +3394,6 @@ void TouchInputMapper::sync(nsecs_t when) {
pointerUsage = POINTER_USAGE_MOUSE;
} else if (!mCurrentFingerIdBits.isEmpty() || isPointerDown(mCurrentButtonState)) {
pointerUsage = POINTER_USAGE_GESTURES;
} else {
pointerUsage = POINTER_USAGE_NONE;
}
dispatchPointerUsage(when, policyFlags, pointerUsage);