Exposed some testAPIs in DPM
- Exposed the following as testAPIs: * markProfileOwnerOnOrganizationOwnedDevice with MANAGE_PROFILE_AND_DEVICE_OWNERS permission * forceSecurityLogs with FORCE_DEVICE_POLICY_MANAGER_LOGS permission * forceNetworkLogs with FORCE_DEVICE_POLICY_MANAGER_LOGS permission * setDeviceOwner * setActiveAdmin * forceRemoveActiveAdmin with MANAGE_PROFILE_AND_DEVICE_OWNERS permission * clearSystemUpdatePolicyFreezePeriodRecord with CLEAR_FREEZE_PERIOD permission - Changed getDeviceOwnerComponentOnAnyUser to accept MANAGE_PROFILE_AND_DEVICE_OWNERS permission Bug: 180500227 Test: verified that cts tests can call the APIs Change-Id: I824980d1f408f1e0bf536c9526f1666dead31d82
Loading
Please register or sign in to comment