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

Commit 9abebd21 authored by Cecilia Hong's avatar Cecilia Hong Committed by Android (Google) Code Review
Browse files

Merge "Sets media recommendations's isPlaying status to false instead of null...

Merge "Sets media recommendations's isPlaying status to false instead of null so the card sorting can be consistent." into sc-qpr1-dev
parents 5784ba0c 55945b02
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -857,7 +857,8 @@ internal object MediaPlayerData {
    ) {
        shouldPrioritizeSs = shouldPrioritize
        removeMediaPlayer(key)
        val sortKey = MediaSortKey(isSsMediaRec = true, EMPTY, clock.currentTimeMillis())
        val sortKey = MediaSortKey(/* isSsMediaRec= */ true,
            EMPTY.copy(isPlaying = false), clock.currentTimeMillis())
        mediaData.put(key, sortKey)
        mediaPlayers.put(sortKey, player)
        smartspaceMediaData = data