Loading packages/SystemUI/src/com/android/systemui/media/MediaDataManager.kt +2 −1 Original line number Diff line number Diff line Loading @@ -641,7 +641,8 @@ class MediaDataManager( // Move to resume key (aka package name) if that key doesn't already exist. val resumeAction = getResumeMediaAction(removed.resumeAction!!) val updated = removed.copy(token = null, actions = listOf(resumeAction), actionsToShowInCompact = listOf(0), active = false, resumption = true) actionsToShowInCompact = listOf(0), active = false, resumption = true, isClearable = true) val pkg = removed.packageName val migrate = mediaEntries.put(pkg, updated) == null // Notify listeners of "new" controls when migrating or removed and update when not Loading Loading
packages/SystemUI/src/com/android/systemui/media/MediaDataManager.kt +2 −1 Original line number Diff line number Diff line Loading @@ -641,7 +641,8 @@ class MediaDataManager( // Move to resume key (aka package name) if that key doesn't already exist. val resumeAction = getResumeMediaAction(removed.resumeAction!!) val updated = removed.copy(token = null, actions = listOf(resumeAction), actionsToShowInCompact = listOf(0), active = false, resumption = true) actionsToShowInCompact = listOf(0), active = false, resumption = true, isClearable = true) val pkg = removed.packageName val migrate = mediaEntries.put(pkg, updated) == null // Notify listeners of "new" controls when migrating or removed and update when not Loading