Merge "Show package name if no label"

This commit is contained in:
Becca Hughes
2023-03-22 16:53:54 +00:00
committed by Android (Google) Code Review

View File

@@ -325,9 +325,9 @@ public class CredentialManagerPreferenceController extends BasePreferenceControl
icon = mIconFactory.getBadgedIcon(appInfo, getUser()); 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)) { if (TextUtils.isEmpty(title)) {
return null; title = firstServiceInfo.packageName;
} }
return addProviderPreference( return addProviderPreference(