diff options
author | Naomi Musgrave <nmusgrave@google.com> | 2021-09-01 18:09:11 +0100 |
---|---|---|
committer | Naomi Musgrave <nmusgrave@google.com> | 2021-09-02 13:08:24 +0000 |
commit | 065f4d876ea5d38eb230868ec92d28cd3501999b (patch) | |
tree | 21ede5b45c81da8ed363f7f5fa0a5add3d98351c /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 5e18d6d1e93ded8b201950a369c427a2f362babd (diff) |
[MediaProjection] Store WindowContext in VirtualDisplay
Follow on from ag/15684817, where the WindowContext is cached in
MediaProjection. To allow multiple VirtualDisplays to be created
from the same MediaProjection, instead create a new WindowContext
for each one, and associate with that VirtualDisplay.
As before, the WindowContext must be stored in a field to prevent
it from being garbage collected.
Bug: 197579637
Bug: 198415847
Test: manual
Change-Id: If3f84b3778104bf12617d224876700f8ee3b2b45
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions