Merge "Fix tap gesture on touch pads."

This commit is contained in:
Jeff Brown
2011-08-19 17:38:09 -07:00
committed by Android (Google) Code Review

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);