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

Commit 2b50fb61 authored by John Spurlock's avatar John Spurlock Committed by Android (Google) Code Review
Browse files

Merge "MediaSession: Notify PlaybackInfo callbacks when playback type changes."

parents ad019a24 bfa98599
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);
            }
        }
    }