Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 31f9b781 authored by Caitlin Shkuratov's avatar Caitlin Shkuratov
Browse files

[SB][Notif] Hide text in chips if not *all* of the text fits.

Previously, we showed text with a fadeout at the end as long as at least
50% of the text fits. New POR is to only show the text if 100% of it
fits.

Bug: 394611253
Bug: 364653005
Flag: com.android.systemui.status_bar_notification_chips
Test: Trigger chip with shortCriticalText then increase & decrease font
size -> verify chip text hides & shows depending on whether the text
fits or not. Verify with chips_modernization both OFF and ON
Test: atest ChipTextTruncationHelperTest

Change-Id: Iba36a5ee82d0d0c70453750765800bdb69749a3e
parent afc6f814
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment