summaryrefslogtreecommitdiff
path: root/libs/rs/rsg_ScriptJavaClass.cpp
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2019-04-02 14:18:56 -0700
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-05-14 04:57:19 +0000
commitda7203b66876a680fad56a5aafe3d84ae8354d4f (patch)
tree35ee835f991e4ac78edec07a152790371926e4d9 /libs/rs/rsg_ScriptJavaClass.cpp
parent3256e59a87466b1a1d20a6cfe22617e23fa25299 (diff)
[RESTRICT AUTOMERGE] Careful with screenshots containing secure layers!
For purposes of the screen rotation animation the system server is allowed to capture secure (not protected) layers and trusted not to persist screenshots which may contain secure layers. However when displaying the screen rotation animation, the layer the screenshot is placed on will itself not be secure, so if we record the animation the recording will contain persisted versions of the secure content. Make sure we use the new API from SurfaceFlinger to set FLAG_SECURE if our screenshot contains secure content. Bug: 69703445 Test: Transaction_test#SetFlagsSecureEUidSystem Change-Id: I0dd36462867da52e6b1451f65f56c2c5d37538f3 (cherry picked from commit bab740f10e0812ba47d19931fdfe2fa7e02bbd0c)
Diffstat (limited to 'libs/rs/rsg_ScriptJavaClass.cpp')
0 files changed, 0 insertions, 0 deletions