diff options
author | Alex Johnston <acjohnston@google.com> | 2020-06-18 20:00:51 +0100 |
---|---|---|
committer | Alex Johnston <acjohnston@google.com> | 2020-06-18 22:58:28 +0100 |
commit | 302c1fe9471ca504fb6d2c5da0d0cb637c0fcd88 (patch) | |
tree | cd50fbeca968f58459dbcb40f8dc05d1bb862144 /rs/java/android/renderscript/ProgramStore.java | |
parent | 556fe0b9e5c26ddb3181f4d55de4ac309d86c542 (diff) |
Change behaviour of screen capture disabled
Background
* Historically, when the screen capture disabled
policy was set on the personal profile, screen
capture was disabled for the whole device
(per-device).
* This should be changed to only be disabled in
the personal profile (per-profile).
Changes
* Renamed DevicePolicyCache methods to setScreenCaptureAllowed
and isScreenCaptureAllowed
* Added parameter ownerCanAddInternalSystemWindow to
isScreenCaptureAllowed
Bug: 148453838
Bug: 157035400
Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest
Change-Id: If1bd68f0ec3e88497c5d3b4382977b526b2364ba
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions