diff options
author | Sungsoo Lim <sungsoo@google.com> | 2015-11-02 09:18:22 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-11-02 09:18:22 +0000 |
commit | 12647500b3a5ae70eb47f3fa4a026994277bb0ff (patch) | |
tree | c5ee35f73890d5ee24da8d9bcc14a53eb9422103 | |
parent | 54b52d0b7b33490a62e5e9e27c5ba5e33bfbe281 (diff) | |
parent | ecc231b11c9e6c1813bf12232559ea372cf02ea7 (diff) | |
download | android_frameworks_support-12647500b3a5ae70eb47f3fa4a026994277bb0ff.tar.gz android_frameworks_support-12647500b3a5ae70eb47f3fa4a026994277bb0ff.tar.bz2 android_frameworks_support-12647500b3a5ae70eb47f3fa4a026994277bb0ff.zip |
Merge "Send a message with data in MediaControllerCompat.MessageHandler.post()" into mnc-ub-dev
-rw-r--r-- | v4/java/android/support/v4/media/session/MediaControllerCompat.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/v4/java/android/support/v4/media/session/MediaControllerCompat.java b/v4/java/android/support/v4/media/session/MediaControllerCompat.java index aa523bb27d..9abade31ce 100644 --- a/v4/java/android/support/v4/media/session/MediaControllerCompat.java +++ b/v4/java/android/support/v4/media/session/MediaControllerCompat.java @@ -557,7 +557,9 @@ public final class MediaControllerCompat { } public void post(int what, Object obj, Bundle data) { - obtainMessage(what, obj).sendToTarget(); + Message msg = obtainMessage(what, obj); + msg.setData(data); + msg.sendToTarget(); } } } |