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

Commit 6d559f9d authored by Grace Kloba's avatar Grace Kloba Committed by Android Git Automerger
Browse files

am bf5b632a: Use getViewHeightWithTitle() to honor the scrollbar setting when...

am bf5b632a: Use getViewHeightWithTitle() to honor the scrollbar setting when computing the maxScrollY for fling. This is honored in the regular scroll in computeVerticalScrollExtent().

Merge commit 'bf5b632a' into eclair-mr2

* commit 'bf5b632a':
  Use getViewHeightWithTitle() to honor the scrollbar
parents 9f4baf30 bf5b632a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4445,7 +4445,7 @@ public class WebView extends AbsoluteLayout

    private int computeMaxScrollY() {
        int maxContentH = computeVerticalScrollRange() + getTitleHeight();
        return Math.max(maxContentH - getHeight(), getTitleHeight());
        return Math.max(maxContentH - getViewHeightWithTitle(), getTitleHeight());
    }

    public void flingScroll(int vx, int vy) {