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

Skip to content
Commit 1cbae6c0 authored by Alejandro Nijamkin's avatar Alejandro Nijamkin
Browse files

[Media] More efficient output switcher chip width limiting.

As per go/sysui-compose#avoid-boxwithconstraints-and-subcomposition,
BoxWithConstraints should be avoided due to performance reasons.

This CL uses simple custom layout code to figure out the constraints for
the chips based on the measured width of the parent row.

Bug: 401264395
Test: manually verified by temporarily making the chip text very long
Flag: EXEMPT not needed yet
Change-Id: I7585c9ef44ece1d89c0c88ec949eec1f4bd778f0
parent 7c7cc446
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