| commit | f5bb97baaa23a2813b4f3379f5e3fa8ce3defd79 | [log] [tgz] |
|---|---|---|
| author | chaviw <chaviw@google.com> | Wed Apr 28 15:35:37 2021 -0500 |
| committer | chaviw <chaviw@google.com> | Thu May 13 11:30:19 2021 -0500 |
| tree | 1d6829859c3f862d2f38bb775b1456c38e49ff2a | |
| parent | 6e2e0effb3d4727b321942a0e7d015c4a1a27d71 [diff] |
Add CAPTURE_BLACKOUT_CONTENT permission check for screenshots Previously, only graphics and system were allowed to take screenshots of layers that are normally blacked out. This change adds an additional check so processes that have the permission CAPTURE_BLACKOUT_CONTENT can also take screenshots of that content. Only system applications can have that permission Test: Builds, screenshots still work as before Bug: 173746627 Change-Id: I53a1738be8e4787507a76f8b0ac703f3e413b30c