diff options
author | Sungsoo Lim <sungsoo@google.com> | 2015-05-29 01:36:57 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-05-29 01:37:00 +0000 |
commit | 6dddc7d1a9ed7f94e37dd6127664e02e25ceb6c8 (patch) | |
tree | 82eaf765ef8cbf045fc543d802512340fe82dc34 | |
parent | d600966c396ce457062795893a7972f3bf2b3617 (diff) | |
parent | 060b4e1f17db00c8cfb25f4d81726c37d580f723 (diff) | |
download | frameworks_base-6dddc7d1a9ed7f94e37dd6127664e02e25ceb6c8.zip frameworks_base-6dddc7d1a9ed7f94e37dd6127664e02e25ceb6c8.tar.gz frameworks_base-6dddc7d1a9ed7f94e37dd6127664e02e25ceb6c8.tar.bz2 |
Merge "Send a message with data in MediaController.MessageHandler.post()" into mnc-dev
-rw-r--r-- | media/java/android/media/session/MediaController.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/media/java/android/media/session/MediaController.java b/media/java/android/media/session/MediaController.java index 2acee04..b1a51a5 100644 --- a/media/java/android/media/session/MediaController.java +++ b/media/java/android/media/session/MediaController.java @@ -1018,7 +1018,9 @@ public final class MediaController { } public void post(int what, Object obj, Bundle data) { - obtainMessage(what, obj).sendToTarget(); + Message msg = obtainMessage(what, obj); + msg.setData(data); + msg.sendToTarget(); } } |