diff options
author | chaviw <chaviw@google.com> | 2020-07-23 17:27:09 -0700 |
---|---|---|
committer | chaviw <chaviw@google.com> | 2020-07-23 17:31:23 -0700 |
commit | 3ce0539bd3422b1cf4fe8cce7b9581e134dc3783 (patch) | |
tree | f2b2e9602167b66b0ac1a450aca77f7c67fc037d /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 3758432ae2f2557bb5ca728bc07d838675066ef5 (diff) |
Screenshot secure layers in ColorFade
When taking a screenshot for ColorFade, allow the screenshot to capture
secure layers, but ensure the SurfaceControl is also marked as secure.
This is to ensure that the screenshot that contains the secure layer
can't itself be screenshotted.
Also cleaned up some unused SurfaceControl.screenshot methods that are
no longer used due to this change
Fixes: 155744498
Test: Turn screen off with secure layers on screen
Change-Id: I064a93f5210af696d52df21380801134b57acc9f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions