diff options
| author | 2024-04-08 14:43:51 +0000 | |
|---|---|---|
| committer | 2024-04-08 14:43:55 +0000 | |
| commit | 5d9da3922fd11e1335c16d04515b1bcb9d979dcc (patch) | |
| tree | 2b445a7463205c8012f9f234bb037c089430fef6 /libs/androidfw/ZipFileRO.cpp | |
| parent | cf5fa2a35f743624ae1a5c572913fd7cea82346d (diff) | |
Fix displayIdMirror test
With I18b36dadc43ba1c37f9516ff10d24bb8683c04ac
getDisplayIdToMirror will return INVALID_DISPLAY
if the virtual display has own content. By default
virtual display has own content flag set, unless
VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR is present.
This CL adds VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR
to the virtual displays in the test and also
makes sure there is permission to capture video
set.
Change-Id: I703aee71f526013129c187628809763fa6e946b7
Bug: 302336562
Test: atest DisplayManagerServiceTest#testCreateVirtualDisplay_displayIdToMirror
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions