Fixing crash while reordering pages in OverviewMode.
Change-Id: I67dcd71a8f15fbc737880306254c766f4dbadc58
This commit is contained in:
1 parent
ebb9ebed64
commit
876a619b11
1 file changed
+3
-1
@@ -1817,7 +1817,9 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
|
||||
addView(mDragView, pageUnderPointIndex);
|
||||
onAddView(mDragView, pageUnderPointIndex);
|
||||
mSidePageHoverIndex = -1;
|
||||
mPageIndicator.setActiveMarker(getNextPage());
|
||||
if (mPageIndicator != null) {
|
||||
mPageIndicator.setActiveMarker(getNextPage());
|
||||
}
|
||||
}
|
||||
};
|
||||
postDelayed(mSidePageHoverRunnable, REORDERING_SIDE_PAGE_HOVER_TIMEOUT);
|
||||
|
||||
Reference in new issue
Block a user