diff options
Diffstat (limited to 'runtime/oat_file_manager.cc')
-rw-r--r-- | runtime/oat_file_manager.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/oat_file_manager.cc b/runtime/oat_file_manager.cc index 32de17486e..25ebaff7d5 100644 --- a/runtime/oat_file_manager.cc +++ b/runtime/oat_file_manager.cc @@ -278,7 +278,8 @@ std::vector<std::unique_ptr<const DexFile>> OatFileManager::OpenDexFilesFromOat( image_space = gc::space::ImageSpace::CreateFromAppImage( art_file.c_str(), oat_file.get(), &error_msg); if (image_space == nullptr) { - VLOG(image) << "Could not load runtime generated app image: " << error_msg; + (OS::FileExists(art_file.c_str()) ? LOG_STREAM(INFO) : VLOG_STREAM(image)) + << "Could not load runtime generated app image: " << error_msg; } } } |