am b88ae415: Fixing crash with invalid current page.

* commit 'b88ae4158d42edac85616a8db1dbda11609b9237':
  Fixing crash with invalid current page.
This commit is contained in:
Winson Chung authored and Android Git Automerger committed 2013-10-29 17:26:32 -07:00
commit d7797521f3
1 file changed
+1 -1
+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();
}