diff options
author | Sander Alewijnse <salewijnse@google.com> | 2014-09-03 11:43:41 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-09-03 11:43:42 +0000 |
commit | 52c0f04cbcd9cb0d98d40b504256e2b3b110e6fc (patch) | |
tree | 452161474d23e8076c7f1abd87ba5882a9a821bc /core | |
parent | 851377f90c205d08a0bc12eb8f8041bf2c2b1abb (diff) | |
parent | 90f14bf53e4c37d0d6d13fbecd48fb88dad06241 (diff) | |
download | frameworks_base-52c0f04cbcd9cb0d98d40b504256e2b3b110e6fc.zip frameworks_base-52c0f04cbcd9cb0d98d40b504256e2b3b110e6fc.tar.gz frameworks_base-52c0f04cbcd9cb0d98d40b504256e2b3b110e6fc.tar.bz2 |
Merge "Add the provisioning extra admin extras bundle." into lmp-dev
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/app/admin/DevicePolicyManager.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java index 69b1139..9ed8960 100644 --- a/core/java/android/app/admin/DevicePolicyManager.java +++ b/core/java/android/app/admin/DevicePolicyManager.java @@ -115,6 +115,18 @@ public class DevicePolicyManager { = "android.app.action.ACTION_PROVISION_MANAGED_PROFILE"; /** + * A {@link Parcelable} extra of type {@link PersistableBundle} that allows a mobile device + * management application that starts managed profile provisioning to pass data to itself on the + * managed profile when provisioning completes. The mobile device management application sends + * this extra in an intent with the action {@link #ACTION_PROVISION_MANAGED_PROFILE} and + * receives it in {@link DeviceAdminReceiver#onProfileProvisioningComplete} via an intent with + * the action {@link DeviceAdminReceiver#ACTION_PROFILE_PROVISIONING_COMPLETE}. The bundle is + * not changed during the managed profile provisioning. + */ + public static final String EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE = + "android.app.extra.ADMIN_EXTRA_BUNDLE"; + + /** * A String extra holding the package name of the mobile device management application that * will be set as the profile owner or device owner. * |