FileDocCategorySizeDatePackage
DevicePolicyManagerInternal.javaAPI DocAndroid 5.1 API2146Thu Mar 12 22:22:10 GMT 2015android.app.admin

DevicePolicyManagerInternal

public abstract class DevicePolicyManagerInternal extends Object
Device policy manager local system service interface.
hide
Only for use within the system server.

Fields Summary
Constructors Summary
Methods Summary
public abstract voidaddOnCrossProfileWidgetProvidersChangeListener(android.app.admin.DevicePolicyManagerInternal$OnCrossProfileWidgetProvidersChangeListener listener)
Adds a listener for changes in the white-listed packages to show cross-profile app widgets.

param
listener The listener to add.

public abstract java.util.ListgetCrossProfileWidgetProviders(int profileId)
Gets the packages whose widget providers are white-listed to be available in the parent user.

param
profileId The profile id.
return
The list of packages if such or empty list if there are no white-listed packages or the profile id is not a managed profile.