diff options
author | 2024-12-16 19:17:38 +0000 | |
---|---|---|
committer | 2024-12-18 19:00:03 +0000 | |
commit | 49f92f50a9076352940c8ebab419ac9cfe60802c (patch) | |
tree | 181b390e87baed17306e8cca334004b8c200921b /libs/androidfw/AssetsProvider.cpp | |
parent | ab3e9c5e68fa776f7dcfa80d9122ed9c83d663cb (diff) |
[SB][Notif] Don't show text in status bar chip if < 50% of it fits.
See b/364653005#comment51 for screenshots
Bug: 364653005
Flag: com.android.systemui.status_bar_notification_chips
Test: Trigger chip with incredibly long shortCriticalText -> verify no
text shows
Test: Trigger chip with a bit of overflow shortCriticalText -> verify
text shows and fades out
Test: Trigger chip with very short shortCriticalText -> verify text
shows and chip width < max width
Test: atest ChipTextTruncationHelperTest
Change-Id: I2c7db5d7c49bea770ccff3fb8d9f4c2124b5e04b
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions