* commit '2d1cf6278587224125da298aba42044aff1d5d8c': Update documentation of DevicePolicyManager intents.
This commit is contained in:
@@ -124,6 +124,12 @@ public class DevicePolicyManager {
|
|||||||
*
|
*
|
||||||
* <p> If provisioning fails, the managedProfile is removed so the device returns to its
|
* <p> If provisioning fails, the managedProfile is removed so the device returns to its
|
||||||
* previous state.
|
* previous state.
|
||||||
|
*
|
||||||
|
* <p>If launched with {@link android.app.Activity#startActivityForResult(Intent, int)} a
|
||||||
|
* result code of {@link android.app.Activity#RESULT_OK} implies that the synchronous part of
|
||||||
|
* the provisioning flow was successful, although this doesn't guarantee the full flow will
|
||||||
|
* succeed. Conversely a result code of {@link android.app.Activity#RESULT_CANCELED} implies
|
||||||
|
* that the user backed-out of provisioning, or some precondition for provisioning wasn't met.
|
||||||
*/
|
*/
|
||||||
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
|
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
|
||||||
public static final String ACTION_PROVISION_MANAGED_PROFILE
|
public static final String ACTION_PROVISION_MANAGED_PROFILE
|
||||||
@@ -158,6 +164,10 @@ public class DevicePolicyManager {
|
|||||||
*
|
*
|
||||||
* <p> If provisioning fails, the device is factory reset.
|
* <p> If provisioning fails, the device is factory reset.
|
||||||
*
|
*
|
||||||
|
* <p>A result code of {@link android.app.Activity#RESULT_OK} implies that the synchronous part
|
||||||
|
* of the provisioning flow was successful, although this doesn't guarantee the full flow will
|
||||||
|
* succeed. Conversely a result code of {@link android.app.Activity#RESULT_CANCELED} implies
|
||||||
|
* that the user backed-out of provisioning, or some precondition for provisioning wasn't met.
|
||||||
*/
|
*/
|
||||||
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
|
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
|
||||||
public static final String ACTION_PROVISION_MANAGED_DEVICE
|
public static final String ACTION_PROVISION_MANAGED_DEVICE
|
||||||
|
|||||||
Reference in New Issue
Block a user