Merge "Show package name if no label" into udc-dev

This commit is contained in:
TreeHugger Robot
2023-03-22 22:10:11 +00:00
committed by Android (Google) Code Review

View File

@@ -201,9 +201,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)) {
continue; title = firstServiceInfo.packageName;
} }
// Build the pref and add it to the output & group. // Build the pref and add it to the output & group.