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

Skip to content
Commit 7a11e18f authored by Caitlin Shkuratov's avatar Caitlin Shkuratov
Browse files

[SB][Chips] Re-calculate chip timer minWidth when font size changes.

When the font size decreases, our chip should probably take less room,
so update the NeverDecreaseWidth Modifier to reset the minimum whenever
the density changes.

Fixes: 395607413
Bug: 372657935
Flag: com.android.systemui.status_bar_chips_modernization

Test: Trigger screen share chip, then increase then decrease font size
-> verify chip isn't too wide
Test: Trigger phone call chip, then increase then decrease font size ->
verify chip isn't too wide

Change-Id: I8818436e855c486ea3918e8b0d9dc21ef2e83c5c
parent a0f47383
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