commit | ed63bbfecfc9690e9cece917e217630f5df9ce36 | [log] [tgz] |
---|---|---|
author | Naomi Musgrave <nmusgrave@google.com> | Fri Sep 15 14:21:50 2023 +0100 |
committer | Naomi Musgrave <nmusgrave@google.com> | Mon Sep 18 12:34:16 2023 +0100 |
tree | d4ffca864d2ca923248aa4a8cbd9b694bb223795 | |
parent | a47ca2ccab963f2a3321ce18e2e15d27cd3985ca [diff] |
[MediaProjection] transform mirrored layers when the surface resizes Aside from resizing the VirtualDisplay from MediaProjection#createVirtualDisplay, an app may also set a new output surface on the VirtualDisplay. This output surface is where the mirrored layers are rendered out to, so we must transform the mirrored layers in response to any Surface size changes. Bug: 300481174 Test: atest WmTests:ContentRecorderTests Change-Id: I062379b9d702fb2c3a13e5442ee14036d1a31637