Merge "Populate ro.boot.dalvik.vm.checkjni from android.checkjni" am: cd52a78472 am: a50cdc1d0a

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

Change-Id: If7a517f810c619092c71b68dc9ec95eee8420dd7
This commit is contained in:
Treehugger Robot 2021-04-08 19:00:12 +00:00 committed by Automerger Merge Worker
commit f69c016c5b

View file

@ -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);
}
});
}