StatusBar: add DISABLE2_NOTIFICATION_SHADE flag.
Previously, DISABLE_EXPAND would disable the expansion of the status bar. But this was only limited to the unlocked case. The status bar (and thus the quick settings panel) could still be expanded on the lock screen (keyguard), by swiping down from either the status bar or the notification cards. We introduce a new flag which would disable notification shade on all surfaces, which will be used by DevicePolicyManager to enforce LockTask restrictions, etc. Bug: 65813398 Test: runtest systemui Test: manual, by using a modified version of TestDPC and DevicePolicyManager Change-Id: I364567422e0ca8837ecffa3037adc131c3cef691
Loading
Please register or sign in to comment