AOD: disable quicksettings while dozing
Test: Trigger ambient display / AOD, verify quicksettings is not expandable Bug: 37303800 Change-Id: I694360f4d728ff9714036d0b92176c922ff53e9a
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user