[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
Loading
Please register or sign in to comment