Class android.app.admin.DevicePolicyManager

Added Methods
boolean getAutoTimeEnabled(ComponentName)  
boolean getAutoTimeZoneEnabled(ComponentName)  
Set<String> getCrossProfilePackages(ComponentName)  
FactoryResetProtectionPolicy getFactoryResetProtectionPolicy(ComponentName)  
long getManagedProfileMaximumTimeOff(ComponentName)  
int getPersonalAppsSuspendedReasons(ComponentName)  
List<String> getUserControlDisabledPackages(ComponentName)  
boolean grantKeyPairToApp(ComponentName, String, String)  
boolean hasLockdownAdminConfiguredNetworks(ComponentName)  
boolean isCommonCriteriaModeEnabled(ComponentName)  
boolean isOrganizationOwnedDeviceWithManagedProfile()  
boolean isUniqueDeviceAttestationSupported()  
boolean revokeKeyPairFromApp(ComponentName, String, String)  
void setAutoTimeEnabled(ComponentName, boolean)  
void setAutoTimeZoneEnabled(ComponentName, boolean)  
void setCommonCriteriaModeEnabled(ComponentName, boolean)  
void setConfiguredNetworksLockdownState(ComponentName, boolean)  
void setCrossProfilePackages(ComponentName, Set<String>)  
void setFactoryResetProtectionPolicy(ComponentName, FactoryResetProtectionPolicy)  
void setLocationEnabled(ComponentName, boolean)  
void setManagedProfileMaximumTimeOff(ComponentName, long)  
void setPersonalAppsSuspended(ComponentName, boolean)  
void setUserControlDisabledPackages(ComponentName, List<String>)  
 

Changed Methods
boolean getAutoTimeRequired() Now deprecated.
 
boolean getStorageEncryption(ComponentName) Now deprecated.
 
boolean resetPassword(String, int) Now deprecated.
 
void setAutoTimeRequired(ComponentName, boolean) Now deprecated.
 
int setStorageEncryption(ComponentName, boolean) Now deprecated.
 
 

Added Fields
String ACTION_CHECK_POLICY_COMPLIANCE  
int ID_TYPE_INDIVIDUAL_ATTESTATION  
int LOCK_TASK_FEATURE_BLOCK_ACTIVITY_START_IN_TASK  
int PERSONAL_APPS_NOT_SUSPENDED  
int PERSONAL_APPS_SUSPENDED_EXPLICITLY  
int PERSONAL_APPS_SUSPENDED_PROFILE_TIMEOUT