Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2dc3ffd3 authored by John Reck's avatar John Reck
Browse files

Don't long press if preventDefault is called

 Bug: 6554060

Change-Id: Iad263c78a0e1504dd10e9ef5b92505bca6991cbc
parent 45973d6d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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.