summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2019-04-02 14:18:56 -0700
committerBryan Ferris <bferris@google.com>2019-05-06 13:24:09 -0700
commitbab740f10e0812ba47d19931fdfe2fa7e02bbd0c (patch)
treefdde3b70a59f648b7dc1d9aa7e7652cf6506a12a /tools/aapt2/java/JavaClassGenerator_test.cpp
parentdc49e0088a05108a0616704ca5565136f89c0a1f (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions