diff options
| author | 2022-08-31 14:27:44 +0000 | |
|---|---|---|
| committer | 2022-09-09 21:05:55 +0000 | |
| commit | 460561d92e02f90110f15a8c23eebf211ad8e0cf (patch) | |
| tree | cbd9f197e3cccbdfba553ce4d06ca5380bc25e68 /api/api.go | |
| parent | 2db6ad344e187a1e914fd8c33790f5f2edef5942 (diff) | |
Reorder media player cards
Checking that the updated media player has data that isPlaying control
set to true and that of the current visible media player is set to false
before reordering. Also, checking added media player is active. So we
make sure we scroll to the current playing media player card. Media
players will need to be reordered later, if these conditions don't meet.
Bug: 234639220
Test: atest MediaCarouselControllerTest
Change-Id: I242c7d800a11d0525f9b4c525fe4885cbffd60d1
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions