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

Commit 7d5c97ab authored by Beth Thibodeau's avatar Beth Thibodeau
Browse files

Update the playback UI any time the state changes

Fixes: 128287884
Test: manual, verified UI updates while playback is paused
Change-Id: I90efb39e91751e236b7e161562638b6d750acd20
(cherry picked from commit bca65b9e)
parent bbde1150
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -90,6 +90,8 @@ public class NotificationMediaTemplateViewWrapper extends NotificationTemplateVi
        @Override
        public void onPlaybackStateChanged(PlaybackState state) {
            if (state.getState() != PlaybackState.STATE_PLAYING) {
                // Update the UI once, in case playback info changed while we were paused
                mUpdatePlaybackUi.run();
                clearTimer();
            } else if (mSeekBarTimer == null) {
                startTimer();