summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Chavi Weingarten <chaviw@google.com> 2022-06-30 16:15:12 +0000
committer Chavi Weingarten <chaviw@google.com> 2022-08-09 16:45:56 +0000
commite64bae455ed9230b68afa6fbbfd825b8d2988894 (patch)
tree9d3de983380a1ffe3cfe229bc4c0d2f8ab34ff99 /libs/androidfw/StringPool.cpp
parent4fdb5d00fa9bf4a38af0487ec56a60e94f440012 (diff)
Use layer mirroring when screen recording via VD
When a Display has the flag VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR, the content on the display is expected to mirror another display. This was previously done by setting the same layerStack. This change removes that behavior and instead will create a mirror hierarchy of the other display and place it at the root of the new Display. This is leveraging the work done for ContentRecorder, but using it as default for all displays instead of only for VD created by MediaProjection. Test: Screen record via MediaProjection Test: Screen record via DisplayManager Test: ContentRecorderTests Test: DisplayContentTests Bug: 237664947 Change-Id: I18b36dadc43ba1c37f9516ff10d24bb8683c04ac
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions