From 37b3b9b1db532702bf64a849f3520bf429d74214 Mon Sep 17 00:00:00 2001 From: Valentin Iftime Date: Wed, 27 Sep 2023 14:43:24 +0200 Subject: [PATCH] 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 --- .../settings/notification/history/NotificationSbnAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/settings/notification/history/NotificationSbnAdapter.java b/src/com/android/settings/notification/history/NotificationSbnAdapter.java index 1d61ae79cd0..c556b55179e 100644 --- a/src/com/android/settings/notification/history/NotificationSbnAdapter.java +++ b/src/com/android/settings/notification/history/NotificationSbnAdapter.java @@ -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); }