diff options
author | John Spurlock <jspurlock@google.com> | 2015-03-10 18:05:10 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-03-10 18:05:11 +0000 |
commit | 2b50fb61c5fa49286d9b3cdae86736c094d3cbdb (patch) | |
tree | 6bf2f8c356aed0f554e02bd32d8bc9ec4bf66339 /services | |
parent | ad019a24e307e710413f063d147e30afdaf91746 (diff) | |
parent | bfa98599b79b2d48209d5ab79055d5ac599c7f04 (diff) | |
download | frameworks_base-2b50fb61c5fa49286d9b3cdae86736c094d3cbdb.zip frameworks_base-2b50fb61c5fa49286d9b3cdae86736c094d3cbdb.tar.gz frameworks_base-2b50fb61c5fa49286d9b3cdae86736c094d3cbdb.tar.bz2 |
Merge "MediaSession: Notify PlaybackInfo callbacks when playback type changes."
Diffstat (limited to 'services')
-rw-r--r-- | services/core/java/com/android/server/media/MediaSessionRecord.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/media/MediaSessionRecord.java b/services/core/java/com/android/server/media/MediaSessionRecord.java index 5363968..b5036db 100644 --- a/services/core/java/com/android/server/media/MediaSessionRecord.java +++ b/services/core/java/com/android/server/media/MediaSessionRecord.java @@ -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); } } } |