Show package name if no label

Test: make
Bug: 273753519
Merged-In: I78b47e8c55382ceef90329547231124db2ca27d9
Change-Id: I78b47e8c55382ceef90329547231124db2ca27d9
This commit is contained in:
Becca Hughes
2023-03-20 22:26:48 +00:00
parent 40019f876b
commit 0b5eb7691b

View File

@@ -201,9 +201,9 @@ public class CredentialManagerPreferenceController extends BasePreferenceControl
icon = mIconFactory.getBadgedIcon(appInfo, getUser());
}
// If there is no title then don't show anything.
// If there is no title then show the package manager.
if (TextUtils.isEmpty(title)) {
continue;
title = firstServiceInfo.packageName;
}
// Build the pref and add it to the output & group.