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

Commit b88ae415 authored by Winson Chung's avatar Winson Chung
Browse files

Fixing crash with invalid current page.

Change-Id: I36e76176b6172a747a6526d96b82c9870b56067c
parent c53d77c7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -515,7 +515,7 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
     * re-enable scrolling.
     */
    void stopScrolling() {
        mCurrentPage = mNextPage;
        mCurrentPage = getNextPage();
        forceFinishScroller();
    }