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

Commit bfa98599 authored by John Spurlock's avatar John Spurlock
Browse files

MediaSession: Notify PlaybackInfo callbacks when playback type changes.

Bug: 19665979
Change-Id: I506a71330ca04a678027f5969638fd1685326b2d
parent 488caeb7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -808,6 +808,7 @@ public class MediaSessionRecord implements IBinder.DeathRecipient {
            }
            if (typeChanged) {
                mService.onSessionPlaybackTypeChanged(MediaSessionRecord.this);
                mHandler.post(MessageHandler.MSG_UPDATE_VOLUME);
            }
        }

@@ -822,6 +823,7 @@ public class MediaSessionRecord implements IBinder.DeathRecipient {
            }
            if (typeChanged) {
                mService.onSessionPlaybackTypeChanged(MediaSessionRecord.this);
                mHandler.post(MessageHandler.MSG_UPDATE_VOLUME);
            }
        }
    }