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

Commit b0993999 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "AndroidRuntime: when CheckJNI is enabled log a message"

parents 6893b19a 3d2f62fd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -746,8 +746,9 @@ int AndroidRuntime::startVm(JavaVM** pJavaVM, JNIEnv** pEnv, bool zygote, bool p
    }

    const bool checkJni = GetBoolProperty("dalvik.vm.checkjni", false);
    ALOGV("CheckJNI is %s\n", checkJni ? "ON" : "OFF");
    if (checkJni) {
        ALOGD("CheckJNI is ON");

        /* extended JNI checking */
        addOption("-Xcheck:jni");