summaryrefslogtreecommitdiffstats
path: root/core/java/android
diff options
context:
space:
mode:
authorBrett Chabot <brettchabot@google.com>2009-07-21 16:07:23 -0700
committerBrett Chabot <brettchabot@google.com>2009-07-21 16:09:08 -0700
commit3e391759d9e7e99fd5ab2d5400bf5acdd54dc808 (patch)
tree04cc5c94289b62e96ee13dec5d9642cd79a032f3 /core/java/android
parent5f6133a100d4477dfcea919e81ff301f9352cd32 (diff)
downloadframeworks_base-3e391759d9e7e99fd5ab2d5400bf5acdd54dc808.zip
frameworks_base-3e391759d9e7e99fd5ab2d5400bf5acdd54dc808.tar.gz
frameworks_base-3e391759d9e7e99fd5ab2d5400bf5acdd54dc808.tar.bz2
Add note to Intent.fillIn javadoc to describe component copying behavior.
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/content/Intent.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java
index b0dbfcb..a5f298c 100644
--- a/core/java/android/content/Intent.java
+++ b/core/java/android/content/Intent.java
@@ -4513,6 +4513,9 @@ public class Intent implements Parcelable {
* and {@link #FILL_IN_COMPONENT} to override the restriction where the
* corresponding field will not be replaced if it is already set.
*
+ * <p>Note: The component field will only be copied if {@link #FILL_IN_COMPONENT} is explicitly
+ * specified.
+ *
* <p>For example, consider Intent A with {data="foo", categories="bar"}
* and Intent B with {action="gotit", data-type="some/thing",
* categories="one","two"}.