From cb67dc9eadf6c6aaa343f48e24b2b43914639c05 Mon Sep 17 00:00:00 2001 From: Michal Karpinski Date: Tue, 13 Dec 2016 18:20:23 +0000 Subject: [PATCH] Fix javadoc for PackageManager#getNameForUid() Change-Id: Ia4fbd6948ab0703c7df9dceae99170ffb8c96ddb --- core/java/android/content/pm/PackageManager.java | 14 +++++++------- .../android/content/pm/PackageManagerInternal.java | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/core/java/android/content/pm/PackageManager.java b/core/java/android/content/pm/PackageManager.java index 4411572b1fb62..e9ba597b59833 100644 --- a/core/java/android/content/pm/PackageManager.java +++ b/core/java/android/content/pm/PackageManager.java @@ -3487,15 +3487,15 @@ public abstract class PackageManager { public abstract @Nullable String[] getPackagesForUid(int uid); /** - * Retrieve the official name associated with a user id. This name is + * Retrieve the official name associated with a uid. This name is * guaranteed to never change, though it is possible for the underlying - * user id to be changed. That is, if you are storing information about - * user ids in persistent storage, you should use the string returned - * by this function instead of the raw user-id. + * uid to be changed. That is, if you are storing information about + * uids in persistent storage, you should use the string returned + * by this function instead of the raw uid. * - * @param uid The user id for which you would like to retrieve a name. - * @return Returns a unique name for the given user id, or null if the - * user id is not currently assigned. + * @param uid The uid for which you would like to retrieve a name. + * @return Returns a unique name for the given uid, or null if the + * uid is not currently assigned. */ public abstract @Nullable String getNameForUid(int uid); diff --git a/core/java/android/content/pm/PackageManagerInternal.java b/core/java/android/content/pm/PackageManagerInternal.java index ad0a6b25c4f14..1ba68a64dab42 100644 --- a/core/java/android/content/pm/PackageManagerInternal.java +++ b/core/java/android/content/pm/PackageManagerInternal.java @@ -197,15 +197,15 @@ public abstract class PackageManagerInternal { boolean overridePolicy); /** - * Retrieve the official name associated with a user id. This name is + * Retrieve the official name associated with a uid. This name is * guaranteed to never change, though it is possible for the underlying - * user id to be changed. That is, if you are storing information about - * user ids in persistent storage, you should use the string returned - * by this function instead of the raw user-id. + * uid to be changed. That is, if you are storing information about + * uids in persistent storage, you should use the string returned + * by this function instead of the raw uid. * - * @param uid The user id for which you would like to retrieve a name. - * @return Returns a unique name for the given user id, or null if the - * user id is not currently assigned. + * @param uid The uid for which you would like to retrieve a name. + * @return Returns a unique name for the given uid, or null if the + * uid is not currently assigned. */ public abstract String getNameForUid(int uid);