[DO NOT MERGE] Use loadDrawableAsUser in MediaDataManager am: 36003d29f4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1497098 Change-Id: I4ec845a45b9fc5ea611d54a161c2965c2bc11c42
This commit is contained in:
@@ -360,7 +360,8 @@ class MediaDataManager(
|
||||
val app = builder.loadHeaderAppName()
|
||||
|
||||
// App Icon
|
||||
val smallIconDrawable: Drawable = sbn.notification.smallIcon.loadDrawable(context)
|
||||
val smallIconDrawable: Drawable = sbn.notification.smallIcon.loadDrawableAsUser(context,
|
||||
sbn.user.identifier)
|
||||
|
||||
// Song name
|
||||
var song: CharSequence? = metadata.getString(MediaMetadata.METADATA_KEY_DISPLAY_TITLE)
|
||||
|
||||
Reference in New Issue
Block a user