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/runtime.h b/runtime/runtime.h
index ff4755e..a20aef4 100644
--- a/runtime/runtime.h
+++ b/runtime/runtime.h
@@ -186,8 +186,8 @@
return image_location_;
}
- bool IsUsingDefaultBootImageLocation() const {
- return is_using_default_boot_image_location_;
+ bool IsUsingApexBootImageLocation() const {
+ return is_using_apex_boot_image_location_;
}
// Starts a runtime, which may cause threads to be started and code to run.
@@ -946,7 +946,7 @@
std::vector<std::string> compiler_options_;
std::vector<std::string> image_compiler_options_;
std::string image_location_;
- bool is_using_default_boot_image_location_;
+ bool is_using_apex_boot_image_location_;
std::vector<std::string> boot_class_path_;
std::vector<std::string> boot_class_path_locations_;