summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Narayan Kamath <narayan@google.com> 2014-06-24 10:08:52 +0000
committer Android Git Automerger <android-git-automerger@android.com> 2014-06-24 10:08:52 +0000
commitc141ae547e9b295ce9013591a6fbb902b0e40073 (patch)
tree70c49d284d77615d744dbde5c2ca767391d85ca5
parentdb3bcfb8f7c1f148bc89eea663ba5aa6fc0ece2f (diff)
parent989ab6d38d77c0a1f7dc5e648e1950410d5d01d4 (diff)
am 989ab6d3: Merge "Update javadoc for android.os.Bundle."
* commit '989ab6d38d77c0a1f7dc5e648e1950410d5d01d4': Update javadoc for android.os.Bundle.
-rw-r--r--core/java/android/os/Bundle.java12
1 files changed, 8 insertions, 4 deletions
diff --git a/core/java/android/os/Bundle.java b/core/java/android/os/Bundle.java
index af57507b8782..fd1df9238a9d 100644
--- a/core/java/android/os/Bundle.java
+++ b/core/java/android/os/Bundle.java
@@ -1127,10 +1127,12 @@ public final class Bundle implements Parcelable, Cloneable {
/**
* Returns the value associated with the given key, or defaultValue if
- * no mapping of the desired type exists for the given key.
+ * no mapping of the desired type exists for the given key or if a null
+ * value is explicitly associated with the given key.
*
* @param key a String, or null
- * @param defaultValue Value to return if key does not exist
+ * @param defaultValue Value to return if key does not exist or if a null
+ * value is associated with the given key.
* @return the String value associated with the given key, or defaultValue
* if no valid String object is currently mapped to that key.
*/
@@ -1160,10 +1162,12 @@ public final class Bundle implements Parcelable, Cloneable {
/**
* Returns the value associated with the given key, or defaultValue if
- * no mapping of the desired type exists for the given key.
+ * no mapping of the desired type exists for the given key or if a null
+ * value is explicitly associatd with the given key.
*
* @param key a String, or null
- * @param defaultValue Value to return if key does not exist
+ * @param defaultValue Value to return if key does not exist or if a null
+ * value is associated with the given key.
* @return the CharSequence value associated with the given key, or defaultValue
* if no valid CharSequence object is currently mapped to that key.
*/