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

Commit 2146b914 authored by Dan Sandler's avatar Dan Sandler Committed by Android (Google) Code Review
Browse files

Merge "Avoid NPE when mRoot is null."

parents 3fafb4eb 9ee256d2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -83,7 +83,7 @@ public class KeyguardBouncer {
    }

    public void onScreenTurnedOff() {
        if (mKeyguardView != null && mRoot.getVisibility() == View.VISIBLE) {
        if (mKeyguardView != null && mRoot != null && mRoot.getVisibility() == View.VISIBLE) {
            mKeyguardView.onPause();
        }
    }