Create a DisableInfo object instead of exposing DISABLE_* flags
The DISABLE_* flags fall into two namespaces, helpfully named DISABLE_* and DISABLE2_*. Seeing as that's kind of domain specific and not clear enough, this change adds StatusBarManager#DisableInfo as a way to describe which components an app has requested to be disabled. It could also be used to remove the need for diasble() and disable2() in the future. Test: atest GtsStatusBarHostTestCases Bug: 123430822 Change-Id: Iecd5119e01fbabf113b5cfbe8f02f8f0d990e9fb
Loading
Please register or sign in to comment