Skip to content
Commit fab74782 authored by Selim Cinek's avatar Selim Cinek
Browse files

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
parent 1f9eb488
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment