diff options
| author | 2025-02-27 15:43:45 +0000 | |
|---|---|---|
| committer | 2025-02-28 19:57:22 +0000 | |
| commit | 1d4e1ab19bd9816c047e7b15e835a373141c2383 (patch) | |
| tree | 42dbb7855a5737f0ce3424e4e9767bffaabe675f /libs/androidfw/ObbFile.cpp | |
| parent | bc85e45d67ee6f7a1e20666c5b5dfc6672c71bf7 (diff) | |
[SB] Rework chip visibility & notification icon visibility with HUNs.
I noticed a few problems:
- With StatusBarNoHunBehavior flag off, if you have a chip and then get
a HUN then we weren't showing the HUN's notification icon because
`isAnyChipVisible` was `true`.
- With StatusBarNoHunBehavior flag on, then tapping the chip to show
the HUN would hide the chip because there was a pinned HUN.
This reworks the flows to address both of these problems.
Bug: 364653005
Flag: com.android.systemui.status_bar_no_hun_behavior
Flag: com.android.systemui.status_bar_root_modernization
Test: NoHunBehavior off: Verify status bar updates to show HUN icon &
text if you have a chip AND if you don't have a chip
Test: NoHunBeahvior on: Verify status bar always shows clock & chip,
even if there's a chip HUN showing or a non-chip HUN showing
Test: atest HomeStatusBarViewModelTest
Change-Id: Ie58ebbc9ad021f9e33b1280c4cbbc4d146b31e23
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions