Restrict height of expanded view in landscape & fix left / right padding
Previously the height & width of expanded view was not updated when switching between landscape & portrait. This CL: * Adjusts max height calculation so it accounts for landscape * Updates the position, height, & left / right padding of the expanded view when the orientation changes, also accounting for notches / navbar * Also accounts display cutout when calculating IME inset for expanded view Test: manual - have multiple bubbles with different heights (small & max) - expand the stack - go to each bubble and rotate to landscape / portrait => in landscape the heights should be restricted & width of the view shouldn't overlap notches (turn them on/off) or navbar (turn gesture nav on/off), in portrait the max height should increase Bug: 135487618 Change-Id: Iaffcef0a070d3eb2d6b21248be3c94a861d77d5d
Loading
Please register or sign in to comment