Merge "Fix a bug that could cause improper detection of long press selection mode in WebView after a scale gesture"

This commit is contained in:
Adam Powell
2010-09-12 14:19:46 -07:00
committed by Android (Google) Code Review

View File

@@ -4872,6 +4872,7 @@ public class WebView extends AbsoluteLayout
if (detector.isInProgress()) {
mLastTouchTime = eventTime;
cancelLongPress();
mPrivateHandler.removeMessages(SWITCH_TO_LONGPRESS);
if (!mZoomManager.supportsPanDuringZoom()) {
return true;
}