summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Caitlin Shkuratov <caitlinshk@google.com> 2024-12-16 19:17:38 +0000
committer Caitlin Shkuratov <caitlinshk@google.com> 2024-12-18 19:00:03 +0000
commit49f92f50a9076352940c8ebab419ac9cfe60802c (patch)
tree181b390e87baed17306e8cca334004b8c200921b /libs/androidfw/AssetsProvider.cpp
parentab3e9c5e68fa776f7dcfa80d9122ed9c83d663cb (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