Fix crash in widget pager - DO NOT MERGE
Fixes bug 14299491 Change-Id: I3c94cbd7f7923dc5a429c9929bc432a5dd29d04f
This commit is contained in:
@@ -846,7 +846,7 @@ public class KeyguardWidgetPager extends PagedView implements PagedView.PageSwit
|
||||
currentPage.setPivotX(0);
|
||||
currentPage.setPivotX(currentPage.getMeasuredWidth() / 2);
|
||||
}
|
||||
if (!(currentPage.getScaleX() < 1f || currentPage.getScaleY() < 1f)) {
|
||||
if (currentPage != null && (!(currentPage.getScaleX() < 1f || currentPage.getScaleY() < 1f))) {
|
||||
mZoomInOutAnim = new AnimatorSet();
|
||||
mZoomInOutAnim.playTogether(
|
||||
ObjectAnimator.ofFloat(currentPage, "scaleX", BOUNCER_SCALE_FACTOR),
|
||||
|
||||
Reference in New Issue
Block a user