Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9f28d900 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 25280 into eclair

* changes:
  Don't scroll on load if titlebar is visible
parents f7c3679f 5b28c366
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -4791,8 +4791,11 @@ public class WebView extends AbsoluteLayout
                            mMaxZoomScale = restoreState.mMaxScale;
                        }
                        setNewZoomScale(mLastScale, false);
                        if (getVisibleTitleHeight() == 0
                                || restoreState.mScrollY != 0) {
                            setContentScrollTo(restoreState.mScrollX,
                                    restoreState.mScrollY);
                        }
                        if (useWideViewport
                                && settings.getLoadWithOverviewMode()) {
                            if (restoreState.mViewScale == 0