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

Commit 0665ae22 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 26939 into eclair

* changes:
  Fix 2101425: Camera crashes spontaneously in preview.
parents 0808c961 6157de0e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -112,7 +112,7 @@ void JNICameraContext::notify(int32_t msgType, int32_t ext1, int32_t ext2)
    }
    JNIEnv *env = AndroidRuntime::getJNIEnv();
    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)