Merge change 8106 into donut

* changes:
  Add note to Intent.fillIn javadoc to describe component copying behavior.
This commit is contained in:
Android (Google) Code Review
2009-07-21 16:32:14 -07:00

View File

@@ -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"}.