Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f21fd77 authored by Isak Lilja's avatar Isak Lilja Committed by Automerger Merge Worker
Browse files

[DO NOT MERGE] Use loadDrawableAsUser in MediaDataManager am: 36003d29

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1497098

Change-Id: I4ec845a45b9fc5ea611d54a161c2965c2bc11c42
parents 0f61c23c 36003d29
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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)