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

Commit 83d570cb authored by Adam Powell's avatar Adam Powell
Browse files

Fix bug 2537626.

Awaken scroll bars in onOverscrolled instead of based on the timing
reported by the Scroller's animation.

Change-Id: I8510b92b9fdf471fc8d6f8f089681eb23d10f190
parent b978c8f8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -573,6 +573,7 @@ public class ScrollView extends FrameLayout {
        } else {
            super.scrollTo(scrollX, scrollY);
        }
        awakenScrollBars();
    }
    
    private int getOverscrollMax() {
@@ -1297,7 +1298,6 @@ public class ScrollView extends FrameLayout {
                mScrollViewMovedFocus = false;
            }
    
            awakenScrollBars(mScroller.getDuration());
            invalidate();
        }
    }