diff options
| author | 2023-03-14 17:54:33 +0000 | |
|---|---|---|
| committer | 2023-03-20 12:09:51 +0000 | |
| commit | c5c96700af5638fde26d1d71c9d95457fa3f0770 (patch) | |
| tree | 6cb0c022f0c599c0f3d64db9d0458bd9bef7bc56 /tests/SystemUIDemoModeController/AndroidManifest.xml | |
| parent | 96490c82ce541a845d3370977b56862e997f0c3d (diff) | |
Only allow mirroring on a VirtualDisplay with a mirroring flag or
MediaProjection instance.
ContentRecordingSession is set on VirtualDisplayConfig via a hidden
API; it is not enough to check it's presence before setting up
mirroring in WindowManagerService (by passing through the
ContentRecordingSession). We also check that the VirtualDisplay
is associated with either a MediaProjection, or has the appropriate
flag set.
Bug: 273540791
Test: atest FrameworksServicesTests:DisplayManagerServiceTest
Change-Id: I113f49265af2faea7fdac08afb55fc077feac5cc
Diffstat (limited to 'tests/SystemUIDemoModeController/AndroidManifest.xml')
0 files changed, 0 insertions, 0 deletions