summaryrefslogtreecommitdiff
path: root/dex2oat/driver/compiler_driver.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dex2oat/driver/compiler_driver.cc')
-rw-r--r--dex2oat/driver/compiler_driver.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dex2oat/driver/compiler_driver.cc b/dex2oat/driver/compiler_driver.cc
index ae73f49508..94391eb957 100644
--- a/dex2oat/driver/compiler_driver.cc
+++ b/dex2oat/driver/compiler_driver.cc
@@ -936,7 +936,7 @@ bool CompilerDriver::ShouldCompileBasedOnProfile(const MethodReference& method_r
// If compiling the apex image, filter out methods not in an apex file (the profile used
// for boot classpath is the same between the apex image and the boot image, so it includes
/// framewkro methods).
- if (compiler_options_->IsApexBootImage() &&
+ if (compiler_options_->IsApexBootImageExtension() &&
!android::base::StartsWith(method_ref.dex_file->GetLocation(), "/apex")) {
return false;
}