summaryrefslogtreecommitdiffstats
path: root/src/oat_file.h
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2011-12-06 16:35:59 -0800
committerIan Rogers <irogers@google.com>2011-12-06 16:35:59 -0800
commit7fe2c691866ad643b9e21dd2c9d36fa79ec454c3 (patch)
tree1d7f200316a1d44d3af1dd3bdf1ea02fefce348b /src/oat_file.h
parent3891c775503b1113a918180d9ecdaa79e92c69c6 (diff)
downloadart-7fe2c691866ad643b9e21dd2c9d36fa79ec454c3.zip
art-7fe2c691866ad643b9e21dd2c9d36fa79ec454c3.tar.gz
art-7fe2c691866ad643b9e21dd2c9d36fa79ec454c3.tar.bz2
Don't log "Failed to find OatDexFile" when failure may be expected.
Change-Id: I82b8eac2f90902b2adaca67d97dbf4d601c19122
Diffstat (limited to 'src/oat_file.h')
-rw-r--r--src/oat_file.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/oat_file.h b/src/oat_file.h
index 0e22719..7bad2a1 100644
--- a/src/oat_file.h
+++ b/src/oat_file.h
@@ -158,7 +158,8 @@ class OatFile {
DISALLOW_COPY_AND_ASSIGN(OatDexFile);
};
- const OatDexFile* GetOatDexFile(const std::string& dex_file_location) const;
+ const OatDexFile* GetOatDexFile(const std::string& dex_file_location,
+ bool warn_if_not_found = true) const;
std::vector<const OatDexFile*> GetOatDexFiles() const;
size_t GetSize() const {