Merge "Show package name if no label" into udc-dev am: 9848eb9053

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22163925

Change-Id: I850e3dab8560aad409dff27f27597ba4a4bd0930
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
TreeHugger Robot
2023-03-23 16:42:41 +00:00
committed by Automerger Merge Worker

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.