Class android.app.admin.DevicePolicyManager

Added Methods
boolean bindDeviceAdminServiceAsUser(ComponentName, Intent, ServiceConnection, int, UserHandle)  
boolean clearResetPasswordToken(ComponentName)  
Intent createAdminSupportIntent(String)  
Set<String> getAffiliationIds(ComponentName)  
List<UserHandle> getBindDeviceAdminTargetUsers(ComponentName)  
List<String> getDelegatePackages(ComponentName, String)  
List<String> getDelegatedScopes(ComponentName, String)  
String[] getLockTaskPackages(ComponentName)  
SystemUpdateInfo getPendingSystemUpdate(ComponentName)  
List<String> getPermittedCrossProfileNotificationListeners(ComponentName)  
long getRequiredStrongAuthTimeout(ComponentName)  
boolean isBackupServiceEnabled(ComponentName)  
boolean isNetworkLoggingEnabled(ComponentName)  
boolean isResetPasswordTokenActive(ComponentName)  
void lockNow(int)  
boolean resetPasswordWithToken(ComponentName, String, byte[], int)  
List<NetworkEvent> retrieveNetworkLogs(ComponentName, long)  
void setAffiliationIds(ComponentName, Set<String>)  
void setBackupServiceEnabled(ComponentName, boolean)  
void setDelegatedScopes(ComponentName, String, List<String>)  
void setNetworkLoggingEnabled(ComponentName, boolean)  
boolean setPermittedCrossProfileNotificationListeners(ComponentName, List<String>)  
void setRequiredStrongAuthTimeout(ComponentName, long)  
boolean setResetPasswordToken(ComponentName, byte[])  
 

Changed Methods
void clearDeviceOwnerApp(String) Now deprecated.
 
void clearProfileOwner(ComponentName) Now deprecated.
 
String getApplicationRestrictionsManagingPackage(ComponentName) Now deprecated.
 
String getCertInstallerPackage(ComponentName) Now deprecated.
 
boolean isCallerApplicationRestrictionsManagingPackage() Now deprecated.
 
void setApplicationRestrictionsManagingPackage(ComponentName, String) Now deprecated.
 
void setCertInstallerPackage(ComponentName, String) Now deprecated.
 
 

Added Fields
String ACTION_APPLICATION_DELEGATION_SCOPES_CHANGED  
String ACTION_DEVICE_ADMIN_SERVICE  
String ACTION_PROVISIONING_SUCCESSFUL  
String DELEGATION_APP_RESTRICTIONS  
String DELEGATION_BLOCK_UNINSTALL  
String DELEGATION_CERT_INSTALL  
String DELEGATION_ENABLE_SYSTEM_APP  
String DELEGATION_PACKAGE_ACCESS  
String DELEGATION_PERMISSION_GRANT  
String EXTRA_DELEGATION_SCOPES  
String EXTRA_PROVISIONING_DISCLAIMERS  
String EXTRA_PROVISIONING_DISCLAIMER_CONTENT  
String EXTRA_PROVISIONING_DISCLAIMER_HEADER  
String EXTRA_PROVISIONING_KEEP_ACCOUNT_ON_MIGRATION  
String EXTRA_PROVISIONING_SKIP_USER_CONSENT  
int FLAG_EVICT_CREDENTIAL_ENCRYPTION_KEY  
String POLICY_DISABLE_CAMERA  
String POLICY_DISABLE_SCREEN_CAPTURE  
 

Changed Fields
String EXTRA_PROVISIONING_EMAIL_ADDRESS Now deprecated.