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

Commit 3ef6e00c authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

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

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1892922

Change-Id: I85b52928d317ec5a079946255b31a01b9f8c7814
parents 26fedd6a b0993999
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");