Loading core/jni/AndroidRuntime.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -1090,7 +1090,7 @@ void AndroidRuntime::start(const char* className, const Vector<String8>& options * Start VM. This thread becomes the main thread of the VM, and will * not return until the VM exits. */ char* slashClassName = toSlashClassName(className); char* slashClassName = toSlashClassName(className != NULL ? className : ""); jclass startClass = env->FindClass(slashClassName); if (startClass == NULL) { ALOGE("JavaVM unable to locate class '%s'\n", slashClassName); Loading core/jni/android_view_MotionEvent.cpp +4 −2 Original line number Diff line number Diff line Loading @@ -345,8 +345,10 @@ static jlong android_view_MotionEvent_nativeInitialize(JNIEnv* env, jclass clazz return 0; } MotionEvent* event = reinterpret_cast<MotionEvent*>(nativePtr); if (!event) { MotionEvent* event; if (nativePtr) { event = reinterpret_cast<MotionEvent*>(nativePtr); } else { event = new MotionEvent(); } Loading Loading
core/jni/AndroidRuntime.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -1090,7 +1090,7 @@ void AndroidRuntime::start(const char* className, const Vector<String8>& options * Start VM. This thread becomes the main thread of the VM, and will * not return until the VM exits. */ char* slashClassName = toSlashClassName(className); char* slashClassName = toSlashClassName(className != NULL ? className : ""); jclass startClass = env->FindClass(slashClassName); if (startClass == NULL) { ALOGE("JavaVM unable to locate class '%s'\n", slashClassName); Loading
core/jni/android_view_MotionEvent.cpp +4 −2 Original line number Diff line number Diff line Loading @@ -345,8 +345,10 @@ static jlong android_view_MotionEvent_nativeInitialize(JNIEnv* env, jclass clazz return 0; } MotionEvent* event = reinterpret_cast<MotionEvent*>(nativePtr); if (!event) { MotionEvent* event; if (nativePtr) { event = reinterpret_cast<MotionEvent*>(nativePtr); } else { event = new MotionEvent(); } Loading