summaryrefslogtreecommitdiffstats
path: root/core/java/android
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2015-06-18 13:47:04 -0700
committerChristopher Tate <ctate@google.com>2015-06-18 13:48:42 -0700
commitabe6580199f8f61cd3070f377be61191e51cac00 (patch)
tree651882ddff4af8678cc9bba65343167290b153b0 /core/java/android
parentc20c1eec9e222870b08c079898dbc334858994cc (diff)
downloadframeworks_base-abe6580199f8f61cd3070f377be61191e51cac00.zip
frameworks_base-abe6580199f8f61cd3070f377be61191e51cac00.tar.gz
frameworks_base-abe6580199f8f61cd3070f377be61191e51cac00.tar.bz2
Document possible null returns in PackageManager
In particular queryIntentServices() but also a few others. Bug 19127758 Change-Id: I590605ce4870b2ab300385678df8917cfade60f9
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/content/pm/PackageManager.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/java/android/content/pm/PackageManager.java b/core/java/android/content/pm/PackageManager.java
index bd50ca0..dd1c5c2 100644
--- a/core/java/android/content/pm/PackageManager.java
+++ b/core/java/android/content/pm/PackageManager.java
@@ -2900,7 +2900,7 @@ public abstract class PackageManager {
*
* @return A List&lt;ResolveInfo&gt; containing one entry for each matching
* Receiver. These are ordered from first to last in priority. If
- * there are no matching receivers, an empty list is returned.
+ * there are no matching receivers, an empty list or {@code null} is returned.
*
* @see #MATCH_DEFAULT_ONLY
* @see #GET_INTENT_FILTERS
@@ -2936,7 +2936,7 @@ public abstract class PackageManager {
* ServiceInfo. These are ordered from best to worst match -- that
* is, the first item in the list is what is returned by
* resolveService(). If there are no matching services, an empty
- * list is returned.
+ * list or {@code null} is returned.
*
* @see #GET_INTENT_FILTERS
* @see #GET_RESOLVED_FILTER
@@ -2955,7 +2955,7 @@ public abstract class PackageManager {
* ServiceInfo. These are ordered from best to worst match -- that
* is, the first item in the list is what is returned by
* resolveService(). If there are no matching services, an empty
- * list is returned.
+ * list or {@code null} is returned.
*
* @see #GET_INTENT_FILTERS
* @see #GET_RESOLVED_FILTER
@@ -2977,7 +2977,7 @@ public abstract class PackageManager {
* @param flags Additional option flags.
* @return A List&lt;ResolveInfo&gt; containing one entry for each matching
* ProviderInfo. These are ordered from best to worst match. If
- * there are no matching providers, an empty list is returned.
+ * there are no matching providers, an empty list or {@code null} is returned.
* @see #GET_INTENT_FILTERS
* @see #GET_RESOLVED_FILTER
*/