From a5b58df09753bd13744381c54c8b2663eb4f256f Mon Sep 17 00:00:00 2001 From: Daniel Lehmann Date: Wed, 12 Oct 2011 16:24:22 -0700 Subject: [PATCH] Allow clearing out the source bounds Change-Id: Id49f4a3ac397cf17c5704d298b6a9a376f6a5c23 --- core/java/android/content/Intent.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index 2be5153764530..45a42e44f1cd4 100644 --- a/core/java/android/content/Intent.java +++ b/core/java/android/content/Intent.java @@ -57,8 +57,8 @@ import java.util.Set; * *

An Intent provides a facility for performing late runtime binding between the code in * different applications. Its most significant use is in the launching of activities, where it - * can be thought of as the glue between activities. It is basically a passive data structure - * holding an abstract description of an action to be performed.

+ * can be thought of as the glue between activities. It is basically a passive data structure + * holding an abstract description of an action to be performed.

* *
*

Developer Guides

@@ -2566,7 +2566,7 @@ public class Intent implements Parcelable, Cloneable { */ public static final String EXTRA_LOCAL_ONLY = "android.intent.extra.LOCAL_ONLY"; - + // --------------------------------------------------------------------- // --------------------------------------------------------------------- // Intent flags (see mFlags variable). @@ -5291,7 +5291,7 @@ public class Intent implements Parcelable, Cloneable { if (r != null) { mSourceBounds = new Rect(r); } else { - r = null; + mSourceBounds = null; } }