SystemServer: reformat flag dumpsys
Clearly indicate that the flag is subject to a local override. Clearly indicate if the override as been wrongly done Modify format to only display snake_case name. Bellow showing different status of flags: unactif flag [ ]: foo_flag actif flag [■]: foo_flag actif flag when detecting a local override [■]: foo_flag (Manual override) unactif flag because incorrect overrid (java only) [ ]: foo_flag (Manual override) ([■]: Java) ([ ]: Native) INCONSISTENT OVERRIDE FOR THIS FLAG. This can lead to unpredictable behavior. unactif flag because incorrect overrid (native only) [ ]: foo_flag (Manual override) ([ ]: Java) ([■]: Native) INCONSISTENT OVERRIDE FOR THIS FLAG. This can lead to unpredictable behavior. unactif flag because incorrect overrid (java & native without system reboot) [ ]: foo_flag (Manual override) ([■]: Java) ([■]: Native) INCONSISTENT OVERRIDE FOR THIS FLAG. This can lead to unpredictable behavior. FYI this is how flags were currently printed: [ ]: fooFlag foo_flag [■]: barFlag bar_flag Bug: 311772251 Test: manual Build apex, print the flags and check how pretty it is Flag: Exempt dump mechanisme for flags Change-Id: I013cebd6fb48bc78cc880e7b79360d4579289bb7
Loading
Please register or sign in to comment