am 298d32e1: Set the minimum fling to the title height.

Merge commit '298d32e1934cddf6b93e6a4588ab05630cd39ec7' into eclair-plus-aosp

* commit '298d32e1934cddf6b93e6a4588ab05630cd39ec7':
  Set the minimum fling to the title height.
This commit is contained in:
Cary Clark
2009-09-14 12:32:08 -07:00
committed by Android Git Automerger

View File

@@ -4570,7 +4570,7 @@ public class WebView extends AbsoluteLayout
private int computeMaxScrollY() {
int maxContentH = computeVerticalScrollRange() + getTitleHeight();
return Math.max(maxContentH - getHeight(), 0);
return Math.max(maxContentH - getHeight(), getTitleHeight());
}
public void flingScroll(int vx, int vy) {