Use profile badge without background for notification history

Use the no-brackground work profile badge for notification history list items.

Test: manual
Bug: 291974306
Change-Id: I4c75267be1090cda03de2bc3fdcfc19fc398a223
This commit is contained in:
Valentin Iftime
2023-09-27 14:43:24 +02:00
parent db9fdb0de8
commit 37b3b9b1db

View File

@@ -120,7 +120,7 @@ public class NotificationSbnAdapter extends
holder.setDividerVisible(position < (mValues.size() -1));
int userId = normalizeUserId(sbn);
if (!mUserBadgeCache.containsKey(userId)) {
Drawable profile = mContext.getPackageManager().getUserBadgeForDensity(
Drawable profile = mContext.getPackageManager().getUserBadgeForDensityNoBackground(
UserHandle.of(userId), 0);
mUserBadgeCache.put(userId, profile);
}