summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Beth Thibodeau <ethibodeau@google.com> 2020-11-13 16:35:49 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2020-11-13 16:35:49 +0000
commitdd1a0165681f8fb9e8e6afa0cbce4ad3c8da0002 (patch)
tree12c23b49e7d456510fc1e53a0a674c39df7fc1c8
parent5815e26b3a3c7b0660da1529b53e9dd84787fa77 (diff)
parent36003d29f4b84641e64fbb986b2869b57edb64a2 (diff)
Merge "[DO NOT MERGE] Use loadDrawableAsUser in MediaDataManager"
-rw-r--r--packages/SystemUI/src/com/android/systemui/media/MediaDataManager.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/media/MediaDataManager.kt b/packages/SystemUI/src/com/android/systemui/media/MediaDataManager.kt
index 299ae5b50aa9..08b700bc308d 100644
--- a/packages/SystemUI/src/com/android/systemui/media/MediaDataManager.kt
+++ b/packages/SystemUI/src/com/android/systemui/media/MediaDataManager.kt
@@ -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)