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

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

Merge "Populate `ro.boot.dalvik.vm.checkjni` from `android.checkjni`" am: cd52a784

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1668586

Change-Id: I446bb76914b91ad277455138cc86f35961d60ca1
parents 1e9abd4f cd52a784
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -1204,6 +1204,18 @@ static void ProcessKernelCmdline() {
            // emulator specific, should be retired once emulator migrates to
            // androidboot.
            InitPropertySet("ro.boot.debug.sf.nobootanimation", "1");
        } else if (key == "android.checkjni") {
            // emulator specific, should be retired once emulator migrates to
            // androidboot.
            std::string value_bool;
            if (value == "0") {
                value_bool = "false";
            } else if (value == "1") {
                value_bool = "true";
            } else {
                value_bool = value;
            }
            InitPropertySet("ro.boot.dalvik.vm.checkjni", value_bool);
        }
    });
}