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
diff --git a/src/com/android/settings/notification/history/NotificationSbnAdapter.java b/src/com/android/settings/notification/history/NotificationSbnAdapter.java
index 1d61ae7..c556b55 100644
--- a/src/com/android/settings/notification/history/NotificationSbnAdapter.java
+++ b/src/com/android/settings/notification/history/NotificationSbnAdapter.java
@@ -120,7 +120,7 @@
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);
}