Merge "Fix clicking on a fake element (address, phone number, etc..)" into jb-dev
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user