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

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