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

Commit 85712e61 authored by John Reck's avatar John Reck Committed by Android Git Automerger
Browse files

am 1f00a987: am 88b756cd: Merge "Don\'t show the touch highlight for double taps" into jb-dev

* commit '1f00a987':
  Don't show the touch highlight for double taps
parents c63d007f 1f00a987
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -553,12 +553,17 @@ final class WebViewInputDispatcher {
            mIsTapCandidate = true;
            mInitialDownX = event.getX();
            mInitialDownY = event.getY();
            scheduleShowTapHighlightLocked();
            enqueueHitTestLocked(event);
            if (mIsDoubleTapCandidate) {
                hideTapCandidateLocked();
            } else {
                scheduleShowTapHighlightLocked();
            }
        } else if (action == MotionEvent.ACTION_UP) {
            unscheduleLongPressLocked();
            if (isClickCandidateLocked(event)) {
                if (mIsDoubleTapCandidate) {
                    hideTapCandidateLocked();
                    enqueueDoubleTapLocked(event);
                } else {
                    scheduleClickLocked();