summaryrefslogtreecommitdiff
path: root/tools/aapt2/Debug.cpp
diff options
context:
space:
mode:
author Matías Hernández <matiashe@google.com> 2024-08-28 19:57:13 +0200
committer Matías Hernández <matiashe@google.com> 2024-08-29 18:12:16 +0000
commit188126dcdbdc29b3f6697066fd283f4556774db8 (patch)
tree675a4b347edb1e64736c53b516d636682eccaa2d /tools/aapt2/Debug.cpp
parent308bfd780a4d1399a2ed8e811be66eefadcb5987 (diff)
Fix size and color of priority modes icons in status bar
* Allow StatusBarIcons to specify whether they want a "fixed" size instead of the variable width they normally have. This also affects their scaling calculations. This is mostly for app-provided icons which may have nonstandard sizes and proportions. * Create a new drawable from constant state so that theming isn't shared with the other usages. Additionally: Add a flow to ZenModeInteractor with the main active mode name and icon exclusively. While the QS tile cares about which other modes are active, neither status bar nor Smartspace do, which means we can use a flow that doesn't emit when more modes are activated (and thus avoid wasted work). Bug: 360399800 Test: coming Flag: android.app.modes_ui Change-Id: I6a17d5a49f76169f15efc89432e1ce0f993d040e
Diffstat (limited to 'tools/aapt2/Debug.cpp')
0 files changed, 0 insertions, 0 deletions