Merge "Sets media recommendations's isPlaying status to false instead of null so the card sorting can be consistent." into sc-qpr1-dev
This commit is contained in:
@@ -857,7 +857,8 @@ internal object MediaPlayerData {
|
|||||||
) {
|
) {
|
||||||
shouldPrioritizeSs = shouldPrioritize
|
shouldPrioritizeSs = shouldPrioritize
|
||||||
removeMediaPlayer(key)
|
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)
|
mediaData.put(key, sortKey)
|
||||||
mediaPlayers.put(sortKey, player)
|
mediaPlayers.put(sortKey, player)
|
||||||
smartspaceMediaData = data
|
smartspaceMediaData = data
|
||||||
|
|||||||
Reference in New Issue
Block a user