summaryrefslogtreecommitdiff
path: root/libs/gui/QueueBufferInputOutput.cpp
diff options
context:
space:
mode:
author Garfield Tan <xutan@google.com> 2020-10-02 17:13:53 -0700
committer Garfield Tan <xutan@google.com> 2020-10-08 12:23:51 -0700
commitde619fa28e85b224933b4ceaccf5f4a30138badc (patch)
treef2684b647cc567153615cc8af3ae56c0ed2efa6d /libs/gui/QueueBufferInputOutput.cpp
parent693291a8dc22931e0c3432a04f0ab968630163cb (diff)
Make a layer secure if its parent is secure.
Dialogs and context menus can be captured in screenshots even if their parent layer/window is marked secure. Therefore we should let the secure flag be inherited from their parents as well. Bug: 169851503 Test: Screen capture can't capture dialogs in a window marked secure. Test: atest libsurfaceflinger_unittest Test: atest SurfaceFlinger_test:ScreenCaptureTest Change-Id: I0f32a03aeb733682df787105b051c691d1da7bc6
Diffstat (limited to 'libs/gui/QueueBufferInputOutput.cpp')
0 files changed, 0 insertions, 0 deletions