From 1e822eba4fea39d926c92e304626efd7cc769d53 Mon Sep 17 00:00:00 2001 From: John Reck Date: Thu, 7 Jul 2011 16:53:12 -0700 Subject: Don't show URL bar during pinch zoom Bug: 4984157 Change-Id: Ice03f3a497fbf16401fab0b2245c9ae1c168b1fb --- src/com/android/browser/BaseUi.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/com/android/browser/BaseUi.java b/src/com/android/browser/BaseUi.java index 0777efd..8e24353 100644 --- a/src/com/android/browser/BaseUi.java +++ b/src/com/android/browser/BaseUi.java @@ -838,7 +838,8 @@ public abstract class BaseUi implements UI, OnTouchListener { break; case MotionEvent.ACTION_MOVE: WebView web = (WebView) v; - if (!isTitleBarShowing() + if (event.getPointerCount() == 1 + && !isTitleBarShowing() && web.getVisibleTitleHeight() == 0 && event.getY() > (mInitialY + mTitlebarScrollTriggerSlop)) { mHandler.removeMessages(MSG_HIDE_TITLEBAR); -- cgit v1.1