summaryrefslogtreecommitdiff
path: root/core/java/android/content
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2013-09-05 22:48:17 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-09-05 22:48:17 +0000
commitf1eebfc2cf47b7fb6ed8dfd06fb124f78ca3519e (patch)
tree8fc8642ddbd53f179b9821700ce8584e0f0a26d0 /core/java/android/content
parent7314eb087f7318118fbf80827789a2626a8f66b5 (diff)
parentd304af69891483aad808356af1ac5f00e90c8edf (diff)
Merge "Remove unused APIs and rename others based on API review" into klp-dev
Diffstat (limited to 'core/java/android/content')
-rw-r--r--core/java/android/content/Intent.java11
1 files changed, 7 insertions, 4 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java
index dfc041295953..2f2aae4ff063 100644
--- a/core/java/android/content/Intent.java
+++ b/core/java/android/content/Intent.java
@@ -2469,16 +2469,19 @@ public class Intent implements Parcelable, Cloneable {
"android.intent.action.GET_RESTRICTION_ENTRIES";
/**
+ * @hide
* Activity to challenge the user for a PIN that was configured when setting up
- * restrictions. Launch the activity using
+ * restrictions. Restrictions include blocking of apps and preventing certain user operations,
+ * controlled by {@link android.os.UserManager#setUserRestrictions(Bundle).
+ * Launch the activity using
* {@link android.app.Activity#startActivityForResult(Intent, int)} and check if the
* result is {@link android.app.Activity#RESULT_OK} for a successful response to the
* challenge.<p/>
* Before launching this activity, make sure that there is a PIN in effect, by calling
- * {@link android.os.UserManager#hasRestrictionsPin()}.
+ * {@link android.os.UserManager#hasRestrictionsChallenge()}.
*/
- public static final String ACTION_RESTRICTIONS_PIN_CHALLENGE =
- "android.intent.action.RESTRICTIONS_PIN_CHALLENGE";
+ public static final String ACTION_RESTRICTIONS_CHALLENGE =
+ "android.intent.action.RESTRICTIONS_CHALLENGE";
/**
* Sent the first time a user is starting, to allow system apps to