diff options
| author | 2023-09-15 14:21:50 +0100 | |
|---|---|---|
| committer | 2023-09-18 12:34:16 +0100 | |
| commit | ed63bbfecfc9690e9cece917e217630f5df9ce36 (patch) | |
| tree | d4ffca864d2ca923248aa4a8cbd9b694bb223795 /api/api_test.go | |
| 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
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions