Retrieves the "official name" associated with this uid, as specified by PackageManager#getNameForUid(int).
(PackageManager packageManager, PeerUid who)
| 61 | * PackageManager#getNameForUid(int)}. |
| 62 | */ |
| 63 | @Nullable |
| 64 | public static String getNameForUid(PackageManager packageManager, PeerUid who) { |
| 65 | return packageManager.getNameForUid(who.getUid()); |
| 66 | } |
| 67 | |
| 68 | /** |
| 69 | * Retrieves the {@link UserHandle} associated with this uid according to {@link |