diff options
| author | 2023-03-08 10:07:05 +0100 | |
|---|---|---|
| committer | 2023-03-15 08:55:20 +0100 | |
| commit | 59734155bf9488838b80e73e8e4cdfdba0b14cbc (patch) | |
| tree | bfa30e6e5f1e36d85284ab31c5ef0beb2ba4a850 /libs/androidfw/LocaleDataTables.cpp | |
| parent | 05356e1d8933b40fa86d4242428346435a698b92 (diff) | |
Change getSystemUiStateString to not contain excess pipe characters
This changes the string from
`|overview_disabled||||||keygrd_visible||||||||||allow_gesture||||device_dozing||||||`
to
`overview_disabled|keygrd_visible|allow_gesture|device_dozing`
for better readability
This change also formats the SYSUI_STATE_SCREEN_TRANSITION and SYSUI_STATE_SCREEN_ON
flags as individual flags instead of a enum. The rationale is that
otherwise its impossible to use getSystemUiStateString to produce a
string for masked, unrelated flags, as it would always append
`screen_off`
Bug: b/261418621
Test: Checked log output manually
Change-Id: Ia0d3320d683d4e61faa4f5f4910d1dcc69be79e6
Diffstat (limited to 'libs/androidfw/LocaleDataTables.cpp')
0 files changed, 0 insertions, 0 deletions