Refactor device ID access SystemAPI to PermissionManager
Based on feedback during the API review of the new SystemAPI for telephony to check device identifier access the method was moved from DevicePolicyManager to a more generic location to perform the non-subscriber portions of the check. Bug: 147761267 Test: atest TelephonyPermissionsTest Test: atest PermissionManagerServiceTest Test: atest DeviceIdentifierTest Test: atest DeviceOwnerTest#testDeviceOwnerCanGetDeviceIdentifiers Test: atest TelephonyManagerTest Test: atest DeviceOwnerTest#testDeviceOwnerCannotGetDeviceIdentifiersWithoutPermission Test: atest ManagedProfileTest#testProfileOwnerOnPersonalDeviceCannotGetDeviceIdentifiers Test: atest CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testProfileOwnerCannotGetDeviceIdentifiersWithoutPermission Test: atest CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testProfileOwnerCanGetDeviceIdentifiers Change-Id: Ic1867dad0b2369f2dc1a7d31facb65f89131376f
Loading
Please register or sign in to comment