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

Commit 52583ef3 authored by Liana Kazanova (xWF)'s avatar Liana Kazanova (xWF) Committed by Android (Google) Code Review
Browse files

Revert "Allow loading of host runtime for Windows"

This reverts commit 3248101b.

Reason for revert: DroidMonitor: Potential culprit for http://b/372943493 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted

Change-Id: Ida94988ed55974734312e5367c7eebb09152b4ea
parent 3248101b
Loading
Loading
Loading
Loading
+6 −7
Original line number Diff line number Diff line
@@ -391,6 +391,7 @@ public:

} // namespace android

#ifndef _WIN32
using namespace android;

JNIEXPORT jint JNI_OnLoad(JavaVM* vm, void*) {
@@ -399,14 +400,12 @@ JNIEXPORT jint JNI_OnLoad(JavaVM* vm, void*) {
        return JNI_ERR;
    }

    string useBaseHostRuntime = getJavaProperty(env, "use_base_native_hostruntime");
    if (useBaseHostRuntime == "true") {
    Vector<String8> args;
    HostRuntime runtime;

    runtime.onVmCreated(env);
    runtime.start("HostRuntime", args, false);
    }

    return JNI_VERSION_1_6;
}
#endif