Skip to content
Commit ed98ad97 authored by Hongwei Wang's avatar Hongwei Wang
Browse files

Fix PiP window on rotation

Per suggestion, check WindowState.mInRelayout instead of mSurfaceResized
when trying to apply the companion SurfaceControl.Transaction of
WindowContainerTransaction.

mSurfaceResized is false when the client calls to relayout and client
renderer is paused, which can be triggered from home screen rotation for
PiP window.

Bug: 154236022
Test: manually rotate with PiP on screen
Change-Id: Ibbe1632de054a8f99c006050701d3472ddc3bbd9
parent 74918ad9
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