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

Commit 4855c261 authored by Scott Mertz's avatar Scott Mertz
Browse files

SystemUI: fix NPE when configuring blur layer

I noticed a NPE on my device with OOB encryption & password lockscreen
(no password required to boot).  This fixes it.

FEIJ-753

Change-Id: I303354e94be451ab65deb815ecf39cda9d6a339e
parent 7a3ef4f8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -148,7 +148,7 @@ public class StatusBarWindowManager implements KeyguardMonitor.Callback {
        } else {
            mLpChanged.flags &= ~WindowManager.LayoutParams.FLAG_SHOW_WALLPAPER;
            mLpChanged.privateFlags &= ~WindowManager.LayoutParams.PRIVATE_FLAG_KEYGUARD;
            if (mKeyguardBlurEnabled) {
            if (mKeyguardBlurEnabled && mKeyguardBlur != null) {
                mKeyguardBlur.hide();
            }
        }