Class android.app.admin.DevicePolicyManager

Added Methods
void addUserRestrictionGlobally(String)  
boolean bindDeviceAdminServiceAsUser(ComponentName, Intent, ServiceConnection, BindServiceFlags, UserHandle)  
PackagePolicy getCredentialManagerPolicy()  
PackagePolicy getManagedProfileCallerIdAccessPolicy()  
PackagePolicy getManagedProfileContactsAccessPolicy()  
ManagedSubscriptionsPolicy getManagedSubscriptionsPolicy()  
int getMtePolicy()  
Bundle getUserRestrictionsGlobally()  
boolean isDeviceFinanced()  
boolean isStatusBarDisabled()  
void setCredentialManagerPolicy(PackagePolicy)  
void setDefaultDialerApplication(String)  
void setManagedProfileCallerIdAccessPolicy(PackagePolicy)  
void setManagedProfileContactsAccessPolicy(PackagePolicy)  
void setManagedSubscriptionsPolicy(ManagedSubscriptionsPolicy)  
void setMtePolicy(int)  
void wipeDevice(int)  
 

Changed Methods
Set<String> getCrossProfileCalendarPackages(ComponentName) Now deprecated.
 
boolean getCrossProfileCallerIdDisabled(ComponentName) Now deprecated.
 
boolean getCrossProfileContactsSearchDisabled(ComponentName) Now deprecated.
 
void setCrossProfileCalendarPackages(ComponentName, Set<String>) Now deprecated.
 
void setCrossProfileCallerIdDisabled(ComponentName, boolean) Now deprecated.
 
void setCrossProfileContactsSearchDisabled(ComponentName, boolean) Now deprecated.
 
 

Added Fields
String ACTION_DEVICE_FINANCING_STATE_CHANGED  
int KEYGUARD_DISABLE_SHORTCUTS_ALL  
int MTE_DISABLED  
int MTE_ENABLED  
int MTE_NOT_CONTROLLED_BY_POLICY  
 

Changed Fields
int ENCRYPTION_STATUS_ACTIVATING Now deprecated.
 
String EXTRA_PROVISIONING_KEEP_SCREEN_ON Now deprecated.