commit | ed98ad97972657fcfcca33e78a9ce015e6f498e6 | [log] [tgz] |
---|---|---|
author | Hongwei Wang <hwwang@google.com> | Thu Apr 16 14:10:08 2020 -0700 |
committer | Hongwei Wang <hwwang@google.com> | Mon Apr 20 15:44:37 2020 -0700 |
tree | 37ba065cd61df95af547a5c7bc287991e6850011 | |
parent | 74918ad98b005f4235fc8bb6fb296532e359589c [diff] |
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