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

Commit a83ebca6 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Protect against hiding while not attached"

parents 5a2c5a3b 58108412
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -228,6 +228,7 @@ public class QSCustomizer extends LinearLayout implements OnMenuItemClickListene
    }

    private final Callback mKeyguardCallback = () -> {
        if (!isAttachedToWindow()) return;
        if (Dependency.get(KeyguardMonitor.class).isShowing() && !mOpening) {
            hide(0, 0);
        }