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

Commit a6f70993 authored by Narayan Kamath's avatar Narayan Kamath Committed by Android Git Automerger
Browse files

am 031acc4b: am 3787decd: am 5137415e: Merge "Use NULL instead of 0 for...

am 031acc4b: am 3787decd: am 5137415e: Merge "Use NULL instead of 0 for pointer arguments of CallStaticVoidMethod."

* commit '031acc4b':
  Use NULL instead of 0 for pointer arguments of CallStaticVoidMethod.
parents f70afa9b 031acc4b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -102,7 +102,7 @@ void JNIMediaRecorderListener::notify(int msg, int ext1, int ext2)
    ALOGV("JNIMediaRecorderListener::notify");

    JNIEnv *env = AndroidRuntime::getJNIEnv();
    env->CallStaticVoidMethod(mClass, fields.post_event, mObject, msg, ext1, ext2, 0);
    env->CallStaticVoidMethod(mClass, fields.post_event, mObject, msg, ext1, ext2, NULL);
}

// ----------------------------------------------------------------------------
+1 −1
Original line number Diff line number Diff line
@@ -325,7 +325,7 @@ static void android_media_visualizer_effect_callback(int32_t event,
            fields.midPostNativeEvent,
            callbackInfo->visualizer_ref,
            NATIVE_EVENT_SERVER_DIED,
            0, 0, 0);
            0, 0, NULL);
    }
}