summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorSudheer Shanka <sudheersai@google.com>2016-04-13 17:47:04 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2016-04-13 17:47:07 +0000
commitb53a36b8cf331b0edd73909c42024fac0984ffcc (patch)
tree9633874d12bad45e3e6fa010e47d562603db5b8d /core/java
parent5fa590b2c2f633dd27592301e343936e3374db63 (diff)
parent80b6641f28a38e7efa40b26c8041837d3938b2b6 (diff)
Merge "Add an intent action ACTION_SHOW_APP_INFO." into nyc-dev
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/content/Intent.java15
1 files changed, 13 insertions, 2 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java
index 7e67e8d7e6a4..831de4a574fb 100644
--- a/core/java/android/content/Intent.java
+++ b/core/java/android/content/Intent.java
@@ -765,6 +765,19 @@ public class Intent implements Parcelable, Cloneable {
= "android.intent.action.APPLICATION_PREFERENCES";
/**
+ * Activity Action: Launch an activity showing the app information.
+ * For applications which install other applications (such as app stores), it is recommended
+ * to handle this action for providing the app information to the user.
+ *
+ * <p>Input: {@link #EXTRA_PACKAGE_NAME} specifies the package whose information needs
+ * to be displayed.
+ * <p>Output: Nothing.
+ */
+ @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
+ public static final String ACTION_SHOW_APP_INFO
+ = "android.intent.action.SHOW_APP_INFO";
+
+ /**
* Represents a shortcut/live folder icon resource.
*
* @see Intent#ACTION_CREATE_SHORTCUT
@@ -1683,9 +1696,7 @@ public class Intent implements Parcelable, Cloneable {
* Type: String
* </p>
*
- * @hide
*/
- @SystemApi
public static final String EXTRA_PACKAGE_NAME = "android.intent.extra.PACKAGE_NAME";
/**