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

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

Merge "AOD: disable quicksettings while dozing" into oc-dev

parents 728fbfb7 68d46801
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1907,6 +1907,7 @@ public class StatusBar extends SystemUI implements DemoMode,
                && (mUserSetup || mUserSwitcherController == null
                        || !mUserSwitcherController.isSimpleUserSwitcher())
                && ((mDisabled2 & StatusBarManager.DISABLE2_QUICK_SETTINGS) == 0)
                && !mDozing
                && !ONLY_CORE_APPS);
    }

@@ -4312,6 +4313,7 @@ public class StatusBar extends SystemUI implements DemoMode,
        mScrimController.setDozing(mDozing);
        mKeyguardIndicationController.setDozing(mDozing);
        mNotificationPanel.setDark(mDozing);
        updateQsExpansionEnabled();

        // Immediately abort the dozing from the doze scrim controller in case of wake-and-unlock
        // for pulsing so the Keyguard fade-out animation scrim can take over.