am 0665ae22: Merge change 26939 into eclair
Merge commit '0665ae22aa51183d6ff5fdd0abeee0344306e89d' into eclair-plus-aosp * commit '0665ae22aa51183d6ff5fdd0abeee0344306e89d': Fix 2101425: Camera crashes spontaneously in preview.
This commit is contained in:
@@ -112,7 +112,7 @@ void JNICameraContext::notify(int32_t msgType, int32_t ext1, int32_t ext2)
|
|||||||
}
|
}
|
||||||
JNIEnv *env = AndroidRuntime::getJNIEnv();
|
JNIEnv *env = AndroidRuntime::getJNIEnv();
|
||||||
env->CallStaticVoidMethod(mCameraJClass, fields.post_event,
|
env->CallStaticVoidMethod(mCameraJClass, fields.post_event,
|
||||||
mCameraJObjectWeak, msgType, ext1, ext2);
|
mCameraJObjectWeak, msgType, ext1, ext2, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
void JNICameraContext::copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType)
|
void JNICameraContext::copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType)
|
||||||
|
|||||||
Reference in New Issue
Block a user