Bound overscroll shift amount to avoid content from drawing on top (Y-val)

of the QSB.

Bug: 77538324
Change-Id: Idabc4365c5fe5cb1894fa0eb84ea9309b85f99a3
This commit is contained in:
Jon Miranda
2018-05-01 12:33:29 -07:00
parent 8492deaa13
commit 5916709219
2 changed files with 9 additions and 1 deletions

View File

@@ -97,7 +97,7 @@ public class SpringRelativeLayout extends RelativeLayout {
mActiveEdge = edge;
}
private void setDampedScrollShift(float shift) {
protected void setDampedScrollShift(float shift) {
if (shift != mDampedScrollShift) {
mDampedScrollShift = shift;
invalidate();