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

Commit 0bb0198d authored by John Reck's avatar John Reck
Browse files

Fix inval issue

 Bug: 6323847

Change-Id: Ibe9fc46af597cd97ae76339533faacfaa6d952fc
parent ff0e8cd8
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -2979,7 +2979,10 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
            // updated when we get out of that mode.
            if (!mDrawHistory) {
                // repin our scroll, taking into account the new content size
                updateScrollCoordinates(pinLocX(getScrollX()), pinLocY(getScrollY()));
                if (updateScrollCoordinates(pinLocX(getScrollX()),
                        pinLocY(getScrollY()))) {
                    invalidate();
                }
                if (!mScroller.isFinished()) {
                    // We are in the middle of a scroll.  Repin the final scroll
                    // position.