diff options
author | Alex Johnston <acjohnston@google.com> | 2020-02-04 10:53:04 +0000 |
---|---|---|
committer | Alex Johnston <acjohnston@google.com> | 2020-02-13 16:08:06 +0000 |
commit | af0aa258a10ce28aa74037b1012d153bcc925633 (patch) | |
tree | da9e22967fda548a25bc50168fd3f4d9ccd11d2b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 98a201dcd983f3101ec8f4deb0d01f5653cc340e (diff) |
Modify DPM KEYGUARD_DISABLE_SECURE_CAMERA restriction
* Introduced new logic that allows the profile owner of an
organization-owned device (COPE PO) to set the restriction
KEYGUARD_DISABLE_SECURE_CAMERA on the parent profile.
* Modified the API setKeyguardDisabledFeatures to be callable
on the parent profile for restriction KEYGUARD_DISABLE_SECURE_CAMERA.
Bug: 148656201
Test: Manual testing with TestDPC
atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testSetKeyguardDisabledFeatures
atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testSetKeyguardDisabledFeatures
atest com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testSetKeyguardDisabledFeatures
atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testSetKeyguardDisabledFeaturesLogged
Change-Id: I13984193e24b8745686e48c9c58ebee40a204fc7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions