Use the right timeout

oops

Change-Id: I667b849af4c5d4fece42e9bcbc5b6b9951b955bb
This commit is contained in:
John Reck
2012-04-24 14:14:47 -07:00
parent f03f64d810
commit d7156d3f47

View File

@@ -436,7 +436,7 @@ final class WebViewInputDispatcher {
return false;
}
long downDuration = event.getEventTime() - event.getDownTime();
return downDuration < TAP_TIMEOUT;
return downDuration < LONG_PRESS_TIMEOUT;
}
private void enqueueDoubleTapLocked(MotionEvent event) {