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

Skip to content
Commit 5117d27a authored by William Escande's avatar William Escande
Browse files

Revert^2 "SystemServer: reformat flag dumpsys"

This reverts commit 043a7e7e.

Reason for revert: reland feature

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
Change-Id: I09b19d424b7334a9e0fa8c6ca033a077e5577697
Test: manual Build apex, print the flags and check how pretty it is
Flag: Exempt dump mechanisme for flags
parent 7e20c751
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment