am b88ae415: Fixing crash with invalid current page.

* commit 'b88ae4158d42edac85616a8db1dbda11609b9237':
  Fixing crash with invalid current page.
This commit is contained in:
Winson Chung
2013-10-29 17:26:32 -07:00
committed by Android Git Automerger
+1 -1
View File
@@ -515,7 +515,7 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
* re-enable scrolling.
*/
void stopScrolling() {
mCurrentPage = mNextPage;
mCurrentPage = getNextPage();
forceFinishScroller();
}