If the WebView can't be scaled, don't check for
double tap. This will make the click event on the non-scalable page much responsive. Fix http://b/issue?id=2645880
This commit is contained in:
@@ -5001,7 +5001,10 @@ public class WebView extends AbsoluteLayout
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
if (mTouchMode == TOUCH_INIT_MODE) {
|
||||
// only trigger double tap if the WebView is
|
||||
// scalable
|
||||
if (mTouchMode == TOUCH_INIT_MODE
|
||||
&& (canZoomIn() || canZoomOut())) {
|
||||
mPrivateHandler.sendEmptyMessageDelayed(
|
||||
RELEASE_SINGLE_TAP, ViewConfiguration
|
||||
.getDoubleTapTimeout());
|
||||
|
||||
Reference in New Issue
Block a user