Merge "Guard against NPE" into rvc-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
cc514fd00d
@@ -185,7 +185,9 @@ public class PagedTileLayout extends ViewPager implements QSTileLayout {
|
|||||||
fakeDragBy(getScrollX() - mScroller.getCurrX());
|
fakeDragBy(getScrollX() - mScroller.getCurrX());
|
||||||
} else if (isFakeDragging()) {
|
} else if (isFakeDragging()) {
|
||||||
endFakeDrag();
|
endFakeDrag();
|
||||||
mBounceAnimatorSet.start();
|
if (mBounceAnimatorSet != null) {
|
||||||
|
mBounceAnimatorSet.start();
|
||||||
|
}
|
||||||
setOffscreenPageLimit(1);
|
setOffscreenPageLimit(1);
|
||||||
}
|
}
|
||||||
super.computeScroll();
|
super.computeScroll();
|
||||||
|
|||||||
Reference in New Issue
Block a user