am 31ef8ef5: Merge "Use NULL instead of 0 when invoking CallStaticVoidMethod" into lmp-mr1-dev

* commit '31ef8ef5d0f98aa08b4c8247d1f252379d97a548':
  Use NULL instead of 0 when invoking CallStaticVoidMethod
This commit is contained in:
Lajos Molnar
2015-01-08 20:24:33 +00:00
committed by Android Git Automerger
2 changed files with 2 additions and 2 deletions

View File

@@ -102,7 +102,7 @@ void JNIMediaRecorderListener::notify(int msg, int ext1, int ext2)
ALOGV("JNIMediaRecorderListener::notify"); ALOGV("JNIMediaRecorderListener::notify");
JNIEnv *env = AndroidRuntime::getJNIEnv(); 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);
} }
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View File

@@ -329,7 +329,7 @@ static void android_media_visualizer_effect_callback(int32_t event,
fields.midPostNativeEvent, fields.midPostNativeEvent,
callbackInfo->visualizer_ref, callbackInfo->visualizer_ref,
NATIVE_EVENT_SERVER_DIED, NATIVE_EVENT_SERVER_DIED,
0, 0, 0); 0, 0, NULL);
} }
} }