Sets media recommendations's isPlaying status to false instead of null
so the card sorting can be consistent. Fixes: 194192751 Test: Local builds Change-Id: I9ed74c0acd5cdbb07be6dc1fd151668298241acb
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user