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