diff options
| author | 2025-02-03 12:24:06 -0800 | |
|---|---|---|
| committer | 2025-02-03 12:24:06 -0800 | |
| commit | 8edf3d7e1dc589daa198a9f7135368127a19e715 (patch) | |
| tree | 2b87880a9155e237cdc5df214c3b7994ede255ef | |
| parent | 90231b0cec971d4aeac18295c51570c0e4fd88b6 (diff) | |
Fix ambiguous nullability documentation
Bug: b/205124386
Change-Id: Ic386e504c2dcc222600ce340b00e30782b87a93c
Test: presubmit
Flag: EXEMPT javadocs only
| -rw-r--r-- | core/java/android/content/pm/PackageManager.java | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/core/java/android/content/pm/PackageManager.java b/core/java/android/content/pm/PackageManager.java index 8c7e93a834b7..0369b7d9bc28 100644 --- a/core/java/android/content/pm/PackageManager.java +++ b/core/java/android/content/pm/PackageManager.java @@ -7967,7 +7967,7 @@ public abstract class PackageManager { * @param flags Additional option flags to modify the data returned. * @return Returns a List of ResolveInfo objects containing one entry for * each matching receiver, ordered from best to worst. If there are - * no matching receivers, an empty list or null is returned. + * no matching receivers, returns an empty list. */ @NonNull public abstract List<ResolveInfo> queryBroadcastReceivers(@NonNull Intent intent, int flags); @@ -7994,7 +7994,7 @@ public abstract class PackageManager { * @param userHandle UserHandle of the user being queried. * @return Returns a List of ResolveInfo objects containing one entry for * each matching receiver, ordered from best to worst. If there are - * no matching receivers, an empty list or null is returned. + * no matching receivers, returns an empty list. * @hide */ @SuppressWarnings("HiddenAbstractMethod") @@ -8111,8 +8111,8 @@ public abstract class PackageManager { * @return Returns a List of ResolveInfo objects containing one entry for * each matching service, ordered from best to worst. In other * words, the first item is what would be returned by - * {@link #resolveService}. If there are no matching services, an - * empty list or null is returned. + * {@link #resolveService}. If there are no matching services, + * returns an empty list. */ @NonNull public abstract List<ResolveInfo> queryIntentServices(@NonNull Intent intent, @@ -8140,8 +8140,8 @@ public abstract class PackageManager { * @return Returns a List of ResolveInfo objects containing one entry for * each matching service, ordered from best to worst. In other * words, the first item is what would be returned by - * {@link #resolveService}. If there are no matching services, an - * empty list or null is returned. + * {@link #resolveService}. If there are no matching services, + * returns an empty list. * @hide */ @SuppressWarnings("HiddenAbstractMethod") @@ -8173,8 +8173,8 @@ public abstract class PackageManager { * @return Returns a List of ResolveInfo objects containing one entry for * each matching service, ordered from best to worst. In other * words, the first item is what would be returned by - * {@link #resolveService}. If there are no matching services, an - * empty list or null is returned. + * {@link #resolveService}. If there are no matching services, + * returns an empty list. * @hide */ @NonNull @@ -8208,7 +8208,7 @@ public abstract class PackageManager { * @param userId The user id. * @return Returns a List of ResolveInfo objects containing one entry for * each matching provider, ordered from best to worst. If there are - * no matching services, an empty list or null is returned. + * no matching services, returns an empty list. * @hide */ @SuppressWarnings("HiddenAbstractMethod") @@ -8240,7 +8240,7 @@ public abstract class PackageManager { * @param user The user being queried. * @return Returns a List of ResolveInfo objects containing one entry for * each matching provider, ordered from best to worst. If there are - * no matching services, an empty list or null is returned. + * no matching services, returns an empty list. * @hide */ @NonNull @@ -8274,7 +8274,7 @@ public abstract class PackageManager { * @param flags Additional option flags to modify the data returned. * @return Returns a List of ResolveInfo objects containing one entry for * each matching provider, ordered from best to worst. If there are - * no matching services, an empty list or null is returned. + * no matching services, returns an empty list. */ @NonNull public abstract List<ResolveInfo> queryIntentContentProviders(@NonNull Intent intent, |