Replace profile owner and device owner access checks DPMS
Remove enforce methods * enforceDeviceOwnerOrManageUsers * enforceProfileOwnerOrSystemUser * enforceProfileOwnerOrFullCrossPermission * Use precondition checks instead Bug: 167960209 Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest atest com.android.cts.devicepolicy.MixedDeviceOwnerTest atest com.android.cts.devicepolicy.ProfileOwnerTest atest com.android.cts.devicepolicy.ManagedProfileTest Change-Id: Ic9b55063e11cf5ba365c485a97c77f98260d3b81
Loading
Please register or sign in to comment