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

Commit 59bcc367 authored by Jason Monk's avatar Jason Monk Committed by Android Git Automerger
Browse files

am 99bf70c1: am 43d12acb: am b682d08a: Block QS in sec. users setup when simple

* commit '99bf70c1f936ce24b714b1d6d18d559066cce963':
  Block QS in sec. users setup when simple
parents a5f18fa0 ad61c961
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -1485,7 +1485,11 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
        updateClearAll();
        updateEmptyShadeView();

        mNotificationPanel.setQsExpansionEnabled(isDeviceProvisioned());
        // Disable QS if device not provisioned.
        // If the user switcher is simple then disable QS during setup because
        // the user intends to use the lock screen user switcher, QS in not needed.
        mNotificationPanel.setQsExpansionEnabled(isDeviceProvisioned()
                && (!mUserSwitcherController.isSimpleUserSwitcher() || mUserSetup));
        mShadeUpdates.check();
    }