Invert IsUsingDefaultBootImageLocation to IsUsingApexBootImageLocation.
Some tests are picking up the jit-zygote path, which is not intended.
Invert the flag so that if in doubt, we don't execute the experiment path.
Bug: 119800099
Change-Id: Ief3ff353cc25fa81157a75d917814982f3836ed0
diff --git a/runtime/class_linker.cc b/runtime/class_linker.cc
index c07849a..8d522f4 100644
--- a/runtime/class_linker.cc
+++ b/runtime/class_linker.cc
@@ -4730,7 +4730,7 @@
// 1) updatable boot classpath classes, and
// 2) classes in /system referencing updatable classes
// will be verified at runtime.
- if (!Runtime::Current()->IsUsingDefaultBootImageLocation()) {
+ if (Runtime::Current()->IsUsingApexBootImageLocation()) {
oat_file_class_status = ClassStatus::kVerified;
return true;
}