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

Skip to content
Commit 66d07e44 authored by Sal Savage's avatar Sal Savage
Browse files

Clear now playing list on player change, update if player supports it

The now playing list is always expected to be tied to the addressed
player by specification. This means if we change to a new addressed
player then any now playing list we have is no long valid. This change
will invalidate the now playing list on notification of a player change
and query the new players features to see if we should re-request the
list.

This fixes bugs where player changes would leave around the previous
players list, especially if the new player didn't support a now playing
list.

This change also adds tests for the state machine and some backing code
that other tests can use to get, set, and assert the value of the now
playing list.

Bug: 148701801
Test: build, flash, test with target devices, atest
Change-Id: I4c36f2917a8844863384a3cb2fca02a3837cc581
Merged-In: I4c36f2917a8844863384a3cb2fca02a3837cc581
parent f87ec185
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment