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 'bf5b632abbc2f4b96323ff428be585fd2a3d381c' into eclair-mr2

* commit 'bf5b632abbc2f4b96323ff428be585fd2a3d381c':
  Use getViewHeightWithTitle() to honor the scrollbar
This commit is contained in:
Grace Kloba
2009-11-11 17:14:32 -08:00
committed by Android Git Automerger

View File

@@ -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) {