mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 02:38:20 +00:00
Fixing crash with invalid current page.
Change-Id: I36e76176b6172a747a6526d96b82c9870b56067c
This commit is contained in:
@@ -515,7 +515,7 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
|
||||
* re-enable scrolling.
|
||||
*/
|
||||
void stopScrolling() {
|
||||
mCurrentPage = mNextPage;
|
||||
mCurrentPage = getNextPage();
|
||||
forceFinishScroller();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user