diff options
Diffstat (limited to 'runtime/oat_file_assistant.cc')
-rw-r--r-- | runtime/oat_file_assistant.cc | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/runtime/oat_file_assistant.cc b/runtime/oat_file_assistant.cc index 1b49ce9b38..d324a241b7 100644 --- a/runtime/oat_file_assistant.cc +++ b/runtime/oat_file_assistant.cc @@ -726,14 +726,13 @@ const std::vector<uint32_t>* OatFileAssistant::GetRequiredDexChecksums(std::stri if (!required_dex_checksums_attempted_) { required_dex_checksums_attempted_ = true; std::vector<uint32_t> checksums; - const ArtDexFileLoader dex_file_loader; std::vector<std::string> dex_locations_ignored; - if (dex_file_loader.GetMultiDexChecksums(dex_location_.c_str(), - &checksums, - &dex_locations_ignored, - &cached_required_dex_checksums_error_, - zip_fd_, - &zip_file_only_contains_uncompressed_dex_)) { + if (ArtDexFileLoader::GetMultiDexChecksums(dex_location_.c_str(), + &checksums, + &dex_locations_ignored, + &cached_required_dex_checksums_error_, + zip_fd_, + &zip_file_only_contains_uncompressed_dex_)) { if (checksums.empty()) { // The only valid case here is for APKs without dex files. VLOG(oat) << "No dex file found in " << dex_location_; |