Merge "Fix Keyguard crash when in landscape." into lmp-preview-dev
This commit is contained in:
@ -475,7 +475,8 @@ public class KeyguardPatternView extends LinearLayout implements KeyguardSecurit
|
|||||||
interpolator, null);
|
interpolator, null);
|
||||||
|
|
||||||
// And the forgot pattern button
|
// And the forgot pattern button
|
||||||
if (mForgotPatternButton.getVisibility() == View.VISIBLE) {
|
if (mForgotPatternButton != null
|
||||||
|
&& mForgotPatternButton.getVisibility() == View.VISIBLE) {
|
||||||
mAppearAnimationUtils.createAnimation(mForgotPatternButton, delay, duration,
|
mAppearAnimationUtils.createAnimation(mForgotPatternButton, delay, duration,
|
||||||
startTranslationY, interpolator, null);
|
startTranslationY, interpolator, null);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user