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

Skip to content
Commit ecf1d11f authored by Beth Thibodeau's avatar Beth Thibodeau
Browse files

Update when PlaybackState state or actions change

Some apps are updating PlaybackState without also posting a new
notification, which is looks buggy when using the new actions.

This adds a check so that when the PlaybackState updates, if the actions
(standard or custom) have changed, or the state has changed between
playing or not, MediaDataManager will get notified
and update the PlaybackState-based buttons.

Fixes: 214335602
Fixes: 229392609
Test: manual - see bug
Test: atest MediaTimeoutListenerTest MediaDataManagerTest
Change-Id: If2eb02c9c969124ebf193a89ff37edd5b1e6ede1
parent 809036e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment