Merge "Don't long press if preventDefault is called" into jb-dev

This commit is contained in:
John Reck
2012-05-29 16:23:10 -07:00
committed by Android (Google) Code Review

View File

@@ -661,6 +661,7 @@ final class WebViewInputDispatcher {
// Web kit has decided to consume the event!
if (d.mEventType == EVENT_TYPE_TOUCH) {
enqueueUiCancelTouchEventIfNeededLocked();
unscheduleLongPressLocked();
}
} else {
// Web kit is being friendly. Pass the event to the UI.