am d7797521: am b88ae415: Fixing crash with invalid current page.

* commit 'd7797521f312697a8947938056b2f3807009a92c':
  Fixing crash with invalid current page.
This commit is contained in:
Winson Chung
2014-02-14 20:37:22 +00: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();
}