getWifiMacAddress: Enable for profile owner on org-owned device
Allow the profile owner on an organization-owned device to call getWifiMacAddress. Part of this change is introducing a new DeviceAdminInfo policy, USES_POLICY_ORGANIZATION_OWNED_PROFILE_OWNER, which can be used to find out if the admin is either device owner or profile owner on organization-owned device. Bug: 138709470 Bug: 145308393 Bug: 145336515 Test: atest CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.MixedDeviceOwnerTest#testWifi Test: atest CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testWifiMacAddress Test: atest CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testWifi Change-Id: Id790408a07b9dd19530563bd2aa9216a7333e863
Loading
Please register or sign in to comment