summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorLajos Molnar <lajos@google.com>2015-03-04 14:39:08 -0800
committerLajos Molnar <lajos@google.com>2015-03-04 17:17:03 -0800
commit63834f4d23a97b27d830a301328329c7ef682bd5 (patch)
tree058e7b2f81bb25e2e8095cee38e5508e4752dd84 /media
parent60b9a5e773aeb40807af26f389ed1d10ec89d0df (diff)
downloadframeworks_base-63834f4d23a97b27d830a301328329c7ef682bd5.zip
frameworks_base-63834f4d23a97b27d830a301328329c7ef682bd5.tar.gz
frameworks_base-63834f4d23a97b27d830a301328329c7ef682bd5.tar.bz2
media: update AMessage to use handler instead of handler-id
Bug: 19607784 Change-Id: Ia18746830816bcade510e5137bf8ce6258181ac0
Diffstat (limited to 'media')
-rw-r--r--media/jni/android_media_MediaCodec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/jni/android_media_MediaCodec.cpp b/media/jni/android_media_MediaCodec.cpp
index 1cf589d..16758d0 100644
--- a/media/jni/android_media_MediaCodec.cpp
+++ b/media/jni/android_media_MediaCodec.cpp
@@ -215,7 +215,7 @@ void JMediaCodec::deleteJavaObjects(JNIEnv *env) {
status_t JMediaCodec::setCallback(jobject cb) {
if (cb != NULL) {
if (mCallbackNotification == NULL) {
- mCallbackNotification = new AMessage(kWhatCallbackNotify, id());
+ mCallbackNotification = new AMessage(kWhatCallbackNotify, this);
}
} else {
mCallbackNotification.clear();