diff options
author | 2016-04-14 16:11:40 +0000 | |
---|---|---|
committer | 2016-04-14 16:11:40 +0000 | |
commit | 0108f3d945cd5483217d7bf1df75ab5108d4555c (patch) | |
tree | cf00b5f4af53b6eadef0c3e3f8c05f743176271e /runtime/oat_file_manager.cc | |
parent | a2a8434deb577317c46ce7f81ee879370688307d (diff) | |
parent | 76f5cb6026b9c83bf00fd1007703503a327f704d (diff) |
Merge "Restore fallback behavior in the no-image stripped-dex case."
Diffstat (limited to 'runtime/oat_file_manager.cc')
-rw-r--r-- | runtime/oat_file_manager.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/oat_file_manager.cc b/runtime/oat_file_manager.cc index 94f6345bb0..3846605400 100644 --- a/runtime/oat_file_manager.cc +++ b/runtime/oat_file_manager.cc @@ -364,7 +364,7 @@ std::vector<std::unique_ptr<const DexFile>> OatFileManager::OpenDexFilesFromOat( // However, if the app was part of /system and preopted, there is no original dex file // available. In that case grudgingly accept the oat file. - if (!DexFile::MaybeDex(dex_location)) { + if (!oat_file_assistant.HasOriginalDexFiles()) { accept_oat_file = true; LOG(WARNING) << "Dex location " << dex_location << " does not seem to include dex file. " << "Allow oat file use. This is potentially dangerous."; |