Merge "Fixed a copy and paste error" into gingerbread

This commit is contained in:
James Dong
2010-09-10 11:21:42 -07:00
committed by Android (Google) Code Review

View File

@@ -437,7 +437,7 @@ android_media_MediaRecorder_native_setup(JNIEnv *env, jobject thiz, jobject weak
return;
}
if (mr->initCheck() != NO_ERROR) {
jniThrowException(env, "java/lang/IOException", "Unable to initialize camera");
jniThrowException(env, "java/lang/RuntimeException", "Unable to initialize media recorder");
return;
}