am 2cd50c9d: Merge "Don\'t long press if preventDefault is called" into jb-dev

* commit '2cd50c9d556de341217044f40be001050a15a741':
  Don't long press if preventDefault is called
This commit is contained in:
John Reck
2012-05-29 16:26:12 -07:00
committed by Android Git Automerger

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.