Class android.app.admin.DevicePolicyManager

Removed Methods
void addForwardingIntentFilter(ComponentName, IntentFilter, int)  
void clearForwardingIntentFilters(ComponentName)  
boolean isApplicationBlocked(ComponentName, String)  
boolean setApplicationBlocked(ComponentName, String, boolean)  
int setApplicationsBlocked(ComponentName, Intent, boolean)  
void setLockTaskComponents(ComponentName[])  
 

Added Methods
void addCrossProfileIntentFilter(ComponentName, IntentFilter, int)  
boolean addCrossProfileWidgetProvider(ComponentName, String)  
void clearCrossProfileIntentFilters(ComponentName)  
void clearDeviceOwnerApp(String)  
UserHandle createAndInitializeUser(ComponentName, String, String, ComponentName, Bundle)  
boolean getAutoTimeRequired()  
boolean getCrossProfileCallerIdDisabled(ComponentName)  
List<String> getCrossProfileWidgetProviders(ComponentName)  
List<byte[]> getInstalledCaCerts(ComponentName)  
List<String> getPermittedAccessibilityServices(ComponentName)  
List<String> getPermittedInputMethods(ComponentName)  
boolean getScreenCaptureDisabled(ComponentName)  
boolean hasCaCertInstalled(ComponentName, byte[])  
boolean installCaCert(ComponentName, byte[])  
boolean installKeyPair(ComponentName, PrivateKey, Certificate, String)  
boolean isApplicationHidden(ComponentName, String)  
boolean isMasterVolumeMuted(ComponentName)  
boolean isUninstallBlocked(ComponentName, String)  
boolean removeCrossProfileWidgetProvider(ComponentName, String)  
boolean setApplicationHidden(ComponentName, String, boolean)  
void setAutoTimeRequired(ComponentName, boolean)  
void setCrossProfileCallerIdDisabled(ComponentName, boolean)  
void setLockTaskPackages(ComponentName, String[])  
void setMasterVolumeMuted(ComponentName, boolean)  
boolean setPermittedAccessibilityServices(ComponentName, List<String>)  
boolean setPermittedInputMethods(ComponentName, List<String>)  
void setProfileName(ComponentName, String)  
void setRecommendedGlobalProxy(ComponentName, ProxyInfo)  
void setRestrictionsProvider(ComponentName, ComponentName)  
void setScreenCaptureDisabled(ComponentName, boolean)  
void setUninstallBlocked(ComponentName, String, boolean)  
boolean switchUser(ComponentName, UserHandle)  
void uninstallAllUserCaCerts(ComponentName)  
void uninstallCaCert(ComponentName, byte[])  
 

Changed Methods
boolean isLockTaskPermitted(String) Change in signature from ComponentName to String.
 
 

Removed Fields
String EXTRA_PROVISIONING_DEFAULT_MANAGED_PROFILE_NAME  
int FLAG_TO_MANAGED_PROFILE  
int FLAG_TO_PRIMARY_USER  
 

Added Fields
String EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE  
String EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_CHECKSUM  
String EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_COOKIE_HEADER  
String EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION  
String EXTRA_PROVISIONING_EMAIL_ADDRESS  
String EXTRA_PROVISIONING_LOCALE  
String EXTRA_PROVISIONING_LOCAL_TIME  
String EXTRA_PROVISIONING_TIME_ZONE  
String EXTRA_PROVISIONING_WIFI_HIDDEN  
String EXTRA_PROVISIONING_WIFI_PAC_URL  
String EXTRA_PROVISIONING_WIFI_PASSWORD  
String EXTRA_PROVISIONING_WIFI_PROXY_BYPASS  
String EXTRA_PROVISIONING_WIFI_PROXY_HOST  
String EXTRA_PROVISIONING_WIFI_PROXY_PORT  
String EXTRA_PROVISIONING_WIFI_SECURITY_TYPE  
String EXTRA_PROVISIONING_WIFI_SSID  
int FLAG_MANAGED_CAN_ACCESS_PARENT  
int FLAG_PARENT_CAN_ACCESS_MANAGED  
int KEYGUARD_DISABLE_FINGERPRINT  
String MIME_TYPE_PROVISIONING_NFC  
int PASSWORD_QUALITY_NUMERIC_COMPLEX  
 

Changed Fields
String ACTION_PROVISION_MANAGED_PROFILE Changed in value from "android.app.action.ACTION_PROVISION_MANAGED_PROFILE" to "android.app.action.PROVISION_MANAGED_PROFILE".  
String EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME Changed in value from "android.app.extra.deviceAdminPackageName" to "android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME".