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

Commit 1849ebde authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Only show paused and active media on the hub" into main

parents bbf6d842 e7412755
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -237,7 +237,15 @@ constructor(
        with(mediaHost) {
            expansion = MediaHostState.EXPANDED
            expandedMatchesParentHeight = true
            if (v2FlagEnabled()) {
                // Only show active media to match lock screen, not resumable media, which can
                // persist
                // for up to 2 days.
                showsOnlyActiveMedia = true
            } else {
                // Maintain old behavior on tablet until V2 flag rolls out.
                showsOnlyActiveMedia = false
            }
            falsingProtectionNeeded = false
            disablePagination = true
            init(MediaHierarchyManager.LOCATION_COMMUNAL_HUB)