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

Commit 63834f4d authored by Lajos Molnar's avatar Lajos Molnar
Browse files

media: update AMessage to use handler instead of handler-id

Bug: 19607784
Change-Id: Ia18746830816bcade510e5137bf8ce6258181ac0
parent 60b9a5e7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();