Merge "AndroidRuntime: pass odsign verification status to ART" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
f5ee8cf3b8
@@ -752,6 +752,11 @@ int AndroidRuntime::startVm(JavaVM** pJavaVM, JNIEnv** pEnv, bool zygote, bool p
|
|||||||
//addOption("-verbose:jni");
|
//addOption("-verbose:jni");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const bool odsignVerificationSuccess = GetBoolProperty("odsign.verification.success", false);
|
||||||
|
if (!odsignVerificationSuccess) {
|
||||||
|
addOption("-Xdeny-art-apex-data-files");
|
||||||
|
}
|
||||||
|
|
||||||
property_get("dalvik.vm.execution-mode", propBuf, "");
|
property_get("dalvik.vm.execution-mode", propBuf, "");
|
||||||
if (strcmp(propBuf, "int:portable") == 0) {
|
if (strcmp(propBuf, "int:portable") == 0) {
|
||||||
executionMode = kEMIntPortable;
|
executionMode = kEMIntPortable;
|
||||||
|
|||||||
Reference in New Issue
Block a user