Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6a247199 authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Fix Keyguard crash when in landscape.

Bug: 15391673
Change-Id: Icb50af358a8478672265a420dd7d500a87fb3fa0
parent ac80c44a
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -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);
            }
            }