summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceComposerClient.cpp
diff options
context:
space:
mode:
author Alec Mouri <alecmouri@google.com> 2021-07-19 17:03:28 -0700
committer Alec Mouri <alecmouri@google.com> 2021-07-20 14:03:53 -0700
commitc83408ad4fb314b466ba4637f208f924a7044563 (patch)
treee2b4b83655bfb51ee09b66cc6e49480d72666f94 /libs/gui/SurfaceComposerClient.cpp
parent5ede32f26da962bf50970e2827cb294fbd2b281a (diff)
Fix caching flickering for unsecure displays
Rendering a cached set needs to respect the secure mode for the display. Otherwise, compositing a secure layer onto an unsecure display would incorrectly leak information in a cached set. Bug: 193103018 Test: Chrome in incognito mode and verify that both screenrecord and simulating a virtual insecure display does not leak Chrome's content. Change-Id: I6d43e1c7de41f113477d9928b91ee0b286249751
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
0 files changed, 0 insertions, 0 deletions