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
Loading
Please register or sign in to comment