Fix clipping during media squishing and general behavior
We were previously remeasuring in every frame when squashing media, because the measuredState was changed, leading to a requestLayout. We're now separating the height from the measureHeight to avoid this. Additionally do we adjust the height of the background children now properly, which were previously just based on the measured height but never updated. This fixed a couple of issues where the view could be stuck in an odd height because of the squishing. Test: Test media squishing in split shade, portait, landscape, observe normal squishing Test: atest SystemUITests Bug: 261534024 Change-Id: I357f261e3cbbb80ddd383caca74bbc3081465d7b
Loading
Please register or sign in to comment