summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Android (Google) Code Review <android-gerrit@google.com> 2009-09-02 16:25:01 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2009-09-02 16:25:01 -0700
commit23db17314d32b56727123d21e3ca899a441c2a60 (patch)
tree90532c9602661a4fc1604985c0a13a5cf7e53240
parentd4c1baf93708ad4e90c556e6041a498dbffaaba0 (diff)
parent32f589046b4105f1a1b7cc2231d334e3971549e6 (diff)
Merge change 23717 into eclair
* changes: Make new attribute EXTRA_CHANGED_COMPONENT_NAME in broadcast intent ACTION_PACKAGE_CHANGED public so that apps like launcher can find out the changed component name when loading changes made in components.
-rw-r--r--api/current.xml11
-rw-r--r--core/java/android/content/Intent.java2
2 files changed, 12 insertions, 1 deletions
diff --git a/api/current.xml b/api/current.xml
index d8609ec452a9..b052a61718ee 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -34212,6 +34212,17 @@
visibility="public"
>
</field>
+<field name="EXTRA_CHANGED_COMPONENT_NAME"
+ type="java.lang.String"
+ transient="false"
+ volatile="false"
+ value="&quot;android.intent.extra.changed_component_name&quot;"
+ static="true"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</field>
<field name="EXTRA_DATA_REMOVED"
type="java.lang.String"
transient="false"
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java
index 2a176727ce2b..87a8f391bb37 100644
--- a/core/java/android/content/Intent.java
+++ b/core/java/android/content/Intent.java
@@ -2039,7 +2039,7 @@ public class Intent implements Parcelable {
/**
* Used as an int extra field in {@link android.content.Intent#ACTION_PACKAGE_CHANGED}
* intent to supply the name of the component that changed.
- * @hide
+ *
*/
public static final String EXTRA_CHANGED_COMPONENT_NAME =
"android.intent.extra.changed_component_name";