Loading core/java/android/webkit/ZoomManager.java +2 −3 Original line number Diff line number Diff line Loading @@ -727,7 +727,8 @@ class ZoomManager { if (mWebView.getWebViewCore() != null) { // we always force, in case our height changed, in which case we // still want to send the notification over to webkit. refreshZoomScale(mUpdateTextWrap); setZoomScale(Math.max(mActualScale, getZoomOverviewScale()), mUpdateTextWrap, true); // update the zoom buttons as the scale can be changed updateZoomPicker(); } Loading Loading @@ -787,8 +788,6 @@ class ZoomManager { && Math.abs((viewWidth * mInvActualScale) - mZoomOverviewWidth) > 1))) { mInitialZoomOverview = false; setZoomScale(zoomOverviewScale, !willScaleTriggerZoom(mTextWrapScale)); } else { mInZoomOverview = !exceedsMinScaleIncrement(mActualScale, zoomOverviewScale); } } Loading Loading
core/java/android/webkit/ZoomManager.java +2 −3 Original line number Diff line number Diff line Loading @@ -727,7 +727,8 @@ class ZoomManager { if (mWebView.getWebViewCore() != null) { // we always force, in case our height changed, in which case we // still want to send the notification over to webkit. refreshZoomScale(mUpdateTextWrap); setZoomScale(Math.max(mActualScale, getZoomOverviewScale()), mUpdateTextWrap, true); // update the zoom buttons as the scale can be changed updateZoomPicker(); } Loading Loading @@ -787,8 +788,6 @@ class ZoomManager { && Math.abs((viewWidth * mInvActualScale) - mZoomOverviewWidth) > 1))) { mInitialZoomOverview = false; setZoomScale(zoomOverviewScale, !willScaleTriggerZoom(mTextWrapScale)); } else { mInZoomOverview = !exceedsMinScaleIncrement(mActualScale, zoomOverviewScale); } } Loading