diff options
| author | 2024-12-19 18:14:50 +0000 | |
|---|---|---|
| committer | 2024-12-20 19:02:32 +0000 | |
| commit | c0c0957ae2f0488a4ac3d54502966d68e03cf110 (patch) | |
| tree | 49b7da61afb34a72a8a40dc6a25e1192643065f0 /libs/androidfw/misc.cpp | |
| parent | 0c74c972a56cbed1dad7fd5978e248e163e806ae (diff) | |
[SB][Notif] Hide the second chip if it doesn't fit.
Fixes: 369154365
Bug: 364653005
Flag: com.android.systemui.status_bar_notification_chips
Test: Trigger 2 chips that are icon-only -> verify both chips are shown
Test: Trigger 1 chip with a timer and 1 chip that's icon only -> verify
only timer chip shows because there's not enough room
Test: Verify 3-2-1 screen record countdown chip is still < 48dp
Test: Verify an icon-only tappaple chip is 48dp
Test: With status_bar_notification_chips flag off, verify screen record
& call chips still work as expected
Change-Id: I2a244c279b8a31f158e73f0665463bfac9dc6e0c
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions