summaryrefslogtreecommitdiff
path: root/libs/gui/BLASTBufferQueue.cpp
diff options
context:
space:
mode:
author Chavi Weingarten <chaviw@google.com> 2023-11-17 19:37:07 +0000
committer Chavi Weingarten <chaviw@google.com> 2023-11-21 16:52:36 +0000
commit4aa22af29dcc20801344d1af84b2a790aef29af9 (patch)
tree373f4888c9f6b8d4bb11ec2f8312587666ef12c4 /libs/gui/BLASTBufferQueue.cpp
parentd1a34bff5ab6914f08110ab6c93e3919b51366b7 (diff)
Ensure sub-hierarchy screenshots inherit secure from parent.
If a sub-hierarchy is screenshot that doesn't include the parent layer that had the secure flag, the screenshot request would not respect the secure flag. This is incorrect because we want to ensure secure flag remains on all children regardless of where in the hierarchy the screenshot is taken. Test: CaptureChildRespectsParentSecureFlag Test: CaptureOffscreenChildRespectsParentSecureFlag Test: LayerSnapshotTest#setSecureRootSnapshot Bug: 308662081 Change-Id: I13f19a7fa4b9e51da0aa097314f015fe1340fc54
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions