diff options
| author | Todd Kennedy <toddke@google.com> | 2020-04-29 12:33:31 -0700 |
|---|---|---|
| committer | Todd Kennedy <toddke@google.com> | 2020-04-29 12:33:31 -0700 |
| commit | ae3af93daa86d79cb6ac4ccc15eb06ecc78fb98e (patch) | |
| tree | e3b45ef3414afdd608b7aa249926c63060c81b80 /core/java | |
| parent | a2b1a3fd6196cb2dd890bba0d34f5445cc9d36a5 (diff) | |
Update public documentation.
Looks like we haven't returned `null` in years.
Fixes: 149837263
Test: None. Documentation only.
Change-Id: I6900458d0b69152a54034e572a6b994e8e6585bd
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/content/pm/PackageManager.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/java/android/content/pm/PackageManager.java b/core/java/android/content/pm/PackageManager.java index 6a5e6ca289b3..2a11fffea4eb 100644 --- a/core/java/android/content/pm/PackageManager.java +++ b/core/java/android/content/pm/PackageManager.java @@ -5951,9 +5951,9 @@ public abstract class PackageManager { /** * Return the label to use for this application. * - * @return Returns the label associated with this application, or null if - * it could not be found for any reason. - * @param info The application to get the label of. + * @return Returns a {@link CharSequence} containing the label associated with + * this application, or its name the item does not have a label. + * @param info The {@link ApplicationInfo} of the application to get the label of. */ @NonNull public abstract CharSequence getApplicationLabel(@NonNull ApplicationInfo info); |
