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
committerRobert Carr <racarr@google.com>2019-04-08 15:22:46 -0700
commit66b5664f2d4a3ef0a1dfa60f1a9d2bf4ff61857a (patch)
treebed8e84dc2dcd4fa2f551fd1733911f9a0493c27 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent08db26626401e3ee42f03e746a55388fd42cba9b (diff)
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: I1b016fb1ad56eccd712442a71cc134e5fa3b1ac6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions