diff options
| author | Alex Johnston <acjohnston@google.com> | 2020-08-11 13:57:22 +0100 |
|---|---|---|
| committer | Alex Johnston <acjohnston@google.com> | 2020-08-14 15:48:14 +0100 |
| commit | f5f16db40298db72bb724dcec5281bfb2eec86f5 (patch) | |
| tree | 29876490932f29931c04c7b7f403ee3e2d9e6ce8 /docs/html/sdk/api_diff/4/changes | |
| parent | ae5e71786ee53b60b97104e740e0327d298cd4c6 (diff) | |
Replace enforce device owner in DPMS
* Replace enforceDeviceOwner and
getActiveAdminForCallerLocked(DeviceAdminInfo.USES_POLICY_DEVICE_OWNER)
with a precondition check.
Updated methods:
- setLogoutEnabled
- setStartUserSessionMessage
- setEndUserSessionMessage
- getStartUserSessionMessage
- getEndUserSessionMessage
- setDelegatedScopes
- setForceEphemeralUsers
- getForceEphemeralUsers
- requestBugreport
- switchUser
- setGlobalSetting
- setRecommendedGlobalProxy
- setDefaultSmsApplication
- removeUser
- startUserInBackground
- stopUser
- getSecondaryUsers
- isSystemOnlyUser
- reboot
- addOverrideApn
- updateOverrideApn
- removeOverrideApn
- getOverrideApns
- setOverrideApnsEnabled
- isOverrideApnEnabled
- setGlobalPrivateDns
- getGlobalPrivateDnsMode
- getGlobalPrivateDnsHost
- setUserControlDisabledPackages
Bug: 163473986
Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest
atest com.android.cts.devicepolicy.DeviceOwnerTest#testUserSession
atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testDelegation
atest com.android.cts.devicepolicy.MixedProfileOwnerTest#testDelegation
atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testDelegatedCertInstaller
atest com.android.cts.devicepolicy.MixedProfileOwnerTest#testDelegatedCertInstaller
atest com.android.cts.devicepolicy.DeviceOwnerPlusProfileOwnerTest#testRequestBugreportAvailableIfAffiliated
atest com.android.cts.devicepolicy.DeviceOwnerTest#testRemoteBugreportWithTwoUsers
atest com.android.cts.devicepolicy.DeviceOwnerTest#testAdminActionBookkeeping
atest com.android.cts.devicepolicy.DeviceOwnerTest#testCreateAndManageUser_SwitchUser
atest com.android.cts.devicepolicy.DeviceOwnerTest#testCreateAndManageUser_CannotStopCurrentUser
atest com.android.cts.devicepolicy.DeviceOwnerTest#testCreateAndManageUser_StartInBackground
atest com.android.cts.devicepolicy.DeviceOwnerTest#testCreateAndManageUser_StartInBackground_MaxRunningUsers
atest com.android.cts.devicepolicy.DeviceOwnerTest#testCreateAndManageUser_StopUser
atest com.android.cts.devicepolicy.DeviceOwnerTest#testCreateAndManageUser_StopEphemeralUser_DisallowRemoveUser
atest com.android.cts.devicepolicy.DeviceOwnerTest#testCreateAndManageUser_SkipSetupWizard
atest com.android.cts.devicepolicy.DeviceOwnerTest#testCreateAndManageUser_LogoutUser
atest com.android.cts.devicepolicy.DeviceOwnerTest#testCreateAndManageUser_Affiliated
atest com.android.cts.devicepolicy.DeviceOwnerTest#testCreateAndManageUser_Ephemeral
atest com.android.cts.devicepolicy.DeviceOwnerTest#testCreateAndManageUser_LeaveAllSystemApps
atest com.android.cts.devicepolicy.DeviceOwnerTest#testSetGlobalSettingLogged
atest com.android.cts.devicepolicy.DeviceOwnerTest#testSetTime
atest com.android.cts.devicepolicy.DeviceOwnerTest#testProxyStaticProxyTest
atest com.android.cts.devicepolicy.DeviceOwnerTest#testProxyPacProxyTest
atest com.android.cts.devicepolicy.DeviceOwnerTest#testDefaultSmsApplication
atest com.android.cts.devicepolicy.ManagedProfileTest#testCannotCallMethodsOnParentProfile
atest com.android.cts.devicepolicy.DeviceOwnerTest#testCreateAndManageUser_RemoveRestrictionSet
atest com.android.cts.devicepolicy.DeviceOwnerTest#testUserAddedOrRemovedBroadcasts
atest com.android.cts.devicepolicy.DeviceOwnerTest#testCreateAndManageUser_GetSecondaryUsers
atest com.android.cts.devicepolicy.DeviceAndProfileOwnerHostSideTransferTest#testTransferCompleteCallback
atest com.android.cts.devicepolicy.DeviceOwnerTest#testOverrideApn
atest com.android.cts.devicepolicy.DeviceOwnerTest#testSetUserControlDisabledPackages
atest com.android.cts.devicepolicy.DeviceOwnerTest#testWifiConfigLockdown
atest com.android.cts.devicepolicy.DeviceOwnerTest#testPrivateDnsPolicy
Change-Id: If3f761e8826a77aa1a4d476fad087f554094d6fd
Diffstat (limited to 'docs/html/sdk/api_diff/4/changes')
0 files changed, 0 insertions, 0 deletions
