diff options
author | Alex Johnston <acjohnston@google.com> | 2020-02-07 14:04:27 +0000 |
---|---|---|
committer | Alex Johnston <acjohnston@google.com> | 2020-02-12 11:52:59 +0000 |
commit | 8e935f77374b8e3242f4c9a61de7955ddfc44e8a (patch) | |
tree | f5c861f556c060585e74f10e48df2ac3e4fb6c40 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | c22d4531c723d0e3512e37cc3c0e0c90899e9708 (diff) |
Modify Screen Capture Disabled APIs
* Previously, setScreenCapturedDisabled and getScreenCaptureDisabled
did not support explicitly querying the parent profile.
* This CL allows the COPE profile owner call these APIs on the parent
profile to disable screen capture device-wide.
Bug: 149006854
Test: atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testScreenCaptureDisabled
atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testScreenCaptureDisabled
atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testScreenCaptureDisabled_assist
atest com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testScreenCaptureDisabled_allowedPrimaryUser
atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testCreateAdminSupportIntent
Change-Id: I64469af190577f66f48052c7f0df20067101aac4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions