Class android.app.admin.DevicePolicyManager

Added Methods
boolean getAutoTime(ComponentName)  
boolean getAutoTimeZone(ComponentName)  
Set<String> getCrossProfilePackages(ComponentName)  
FactoryResetProtectionPolicy getFactoryResetProtectionPolicy(ComponentName)  
long getManagedProfileMaximumTimeOff(ComponentName)  
int getPersonalAppsSuspendedReasons(ComponentName)  
List<String> getProtectedPackages(ComponentName)  
boolean grantKeyPairToApp(ComponentName, String, String)  
boolean hasLockdownAdminConfiguredNetworks(ComponentName)  
boolean isCommonCriteriaModeEnabled(ComponentName)  
boolean isOrganizationOwnedDeviceWithManagedProfile()  
boolean isUniqueDeviceAttestationSupported()  
boolean revokeKeyPairFromApp(ComponentName, String, String)  
void setAutoTime(ComponentName, boolean)  
void setAutoTimeZone(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 setProtectedPackages(ComponentName, List<String>)  
void setSecondaryLockscreenEnabled(ComponentName, boolean)  
 

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_BIND_SECONDARY_LOCKSCREEN_SERVICE  
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