diff options
| author | 2021-04-28 15:35:37 -0500 | |
|---|---|---|
| committer | 2021-05-13 11:30:19 -0500 | |
| commit | f5bb97baaa23a2813b4f3379f5e3fa8ce3defd79 (patch) | |
| tree | 1d6829859c3f862d2f38bb775b1456c38e49ff2a /libs/gui/DisplayLuts.cpp | |
| 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
Diffstat (limited to 'libs/gui/DisplayLuts.cpp')
0 files changed, 0 insertions, 0 deletions