Test account management on parent DPM instance
Test that the account types can be disabled on the primary profile
by the managed profile owner calling setAccountManagementDisabled on the
parent profile DevicePolicyManager instance.
The test ensures that apps on the primary profile see this restriction
via their DevicePolicyManager instance.
Bug: 148438071
Test: atest CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testCanRestrictAccountManagementOnParentProfile
Change-Id: If5f397a9e5ed5ce708e078e687e9bce2124284ad
3 files changed