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

Commit 7ecf3dc6 authored by John Reck's avatar John Reck Committed by Android Git Automerger
Browse files

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

* commit 'eaca069a':
  Fix clicking on a fake element (address, phone number, etc..)
parents 04e2b223 eaca069a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1316,6 +1316,12 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
        case WebViewInputDispatcher.EVENT_TYPE_TOUCH:
            onHandleUiTouchEvent(event);
            break;
        case WebViewInputDispatcher.EVENT_TYPE_CLICK:
            if (mFocusedNode != null && mFocusedNode.mIntentUrl != null) {
                mWebView.playSoundEffect(SoundEffectConstants.CLICK);
                overrideLoading(mFocusedNode.mIntentUrl);
            }
            break;
        }
    }