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

Commit eaca069a authored by John Reck's avatar John Reck Committed by Android (Google) Code Review
Browse files

Merge "Fix clicking on a fake element (address, phone number, etc..)" into jb-dev

parents 531522c7 9155cbac
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -1316,6 +1316,12 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
        case WebViewInputDispatcher.EVENT_TYPE_TOUCH:
        case WebViewInputDispatcher.EVENT_TYPE_TOUCH:
            onHandleUiTouchEvent(event);
            onHandleUiTouchEvent(event);
            break;
            break;
        case WebViewInputDispatcher.EVENT_TYPE_CLICK:
            if (mFocusedNode != null && mFocusedNode.mIntentUrl != null) {
                mWebView.playSoundEffect(SoundEffectConstants.CLICK);
                overrideLoading(mFocusedNode.mIntentUrl);
            }
            break;
        }
        }
    }
    }