From 2ec10989613984ccd7616af1989b2e3ae1c442b8 Mon Sep 17 00:00:00 2001 From: John Reck Date: Tue, 28 Aug 2012 16:22:11 -0700 Subject: DO NOT MERGE Remove dead code Cherry pick Change-Id: I19603a6e234b0b2592ef90fd426b2973cff8e4fd --- core/java/android/webkit/WebViewClassic.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/java') diff --git a/core/java/android/webkit/WebViewClassic.java b/core/java/android/webkit/WebViewClassic.java index 84a6129..d8541fa 100644 --- a/core/java/android/webkit/WebViewClassic.java +++ b/core/java/android/webkit/WebViewClassic.java @@ -1364,7 +1364,7 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc if (action == MotionEvent.ACTION_POINTER_DOWN) { cancelTouch(); action = MotionEvent.ACTION_DOWN; - } else if (action == MotionEvent.ACTION_POINTER_UP && ev.getPointerCount() >= 2) { + } else if (action == MotionEvent.ACTION_POINTER_UP) { // set mLastTouchX/Y to the remaining points for multi-touch. mLastTouchX = Math.round(x); mLastTouchY = Math.round(y); -- cgit v1.1