Class android.app.admin.DevicePolicyManager

Added Methods
void acknowledgeDeviceCompliant()  
boolean canAdminGrantSensorsPermissions()  
boolean canUsbDataSignalingBeDisabled()  
String getEnrollmentSpecificId()  
(Map<Integer, Set<String>>getKeyPairGrants(String)  
int getNearbyAppStreamingPolicy()  
int getNearbyNotificationStreamingPolicy()  
int getRequiredPasswordComplexity()  
boolean grantKeyPairToWifiAuth(String)  
boolean hasKeyPair(String)  
boolean isActivePasswordSufficientForDeviceRequirement()  
boolean isComplianceAcknowledgementRequired()  
boolean isKeyPairGrantedToWifiAuth(String)  
boolean isPreferentialNetworkServiceEnabled()  
boolean isSafeOperation(int)  
boolean isUsbDataSignalingEnabled()  
List<UserHandle> listForegroundAffiliatedUsers()  
boolean revokeKeyPairFromWifiAuth(String)  
void setNearbyAppStreamingPolicy(int)  
void setNearbyNotificationStreamingPolicy(int)  
void setOrganizationId(String)  
void setPreferentialNetworkServiceEnabled(boolean)  
void setRequiredPasswordComplexity(int)  
void setUsbDataSignalingEnabled(boolean)  
 

Changed Methods
int getOrganizationColor(ComponentName) Now deprecated.
 
int getPasswordMinimumLength(ComponentName) Now deprecated.
 
int getPasswordMinimumLetters(ComponentName) Now deprecated.
 
int getPasswordMinimumLowerCase(ComponentName) Now deprecated.
 
int getPasswordMinimumNonLetter(ComponentName) Now deprecated.
 
int getPasswordMinimumNumeric(ComponentName) Now deprecated.
 
int getPasswordMinimumSymbols(ComponentName) Now deprecated.
 
int getPasswordMinimumUpperCase(ComponentName) Now deprecated.
 
int getPasswordQuality(ComponentName) Now deprecated.
 
void setOrganizationColor(ComponentName, int) Now deprecated.
 
void setPasswordMinimumLength(ComponentName, int) Now deprecated.
 
void setPasswordMinimumLetters(ComponentName, int) Now deprecated.
 
void setPasswordMinimumLowerCase(ComponentName, int) Now deprecated.
 
void setPasswordMinimumNonLetter(ComponentName, int) Now deprecated.
 
void setPasswordMinimumNumeric(ComponentName, int) Now deprecated.
 
void setPasswordMinimumSymbols(ComponentName, int) Now deprecated.
 
void setPasswordMinimumUpperCase(ComponentName, int) Now deprecated.
 
void setPasswordQuality(ComponentName, int) Now deprecated.
 
 

Added Fields
String DELEGATION_SECURITY_LOGGING  
String EXTRA_DEVICE_PASSWORD_REQUIREMENT_ONLY  
String EXTRA_PROVISIONING_ALLOWED_PROVISIONING_MODES  
String EXTRA_PROVISIONING_SENSORS_PERMISSION_GRANT_OPT_OUT  
int NEARBY_STREAMING_DISABLED  
int NEARBY_STREAMING_ENABLED  
int NEARBY_STREAMING_NOT_CONTROLLED_BY_POLICY  
int NEARBY_STREAMING_SAME_MANAGED_ACCOUNT_ONLY  
int OPERATION_SAFETY_REASON_DRIVING_DISTRACTION  
int PROVISIONING_MODE_MANAGED_PROFILE_ON_PERSONAL_DEVICE  
 

Changed Fields
String ACTION_PROVISION_MANAGED_DEVICE Now deprecated.
 
String EXTRA_PROVISIONING_MAIN_COLOR Now deprecated.
 
String EXTRA_PROVISIONING_SKIP_USER_CONSENT Now deprecated.