diff options
author | Brian Carlstrom <bdc@google.com> | 2013-10-03 15:46:12 -0700 |
---|---|---|
committer | Brian Carlstrom <bdc@google.com> | 2013-10-03 18:14:18 -0700 |
commit | 756ee4e090bc1e1812b41fb7b4661df601a32ef9 (patch) | |
tree | b456ca4a582d5e75d20b418ab4c27ed56b46f40d /runtime/oat_file.h | |
parent | eeb9888421b696990f45b89286ad9d0908c70a69 (diff) | |
download | art-756ee4e090bc1e1812b41fb7b4661df601a32ef9.tar.gz art-756ee4e090bc1e1812b41fb7b4661df601a32ef9.tar.bz2 art-756ee4e090bc1e1812b41fb7b4661df601a32ef9.zip |
Find OatDexFile by DexFile name and checksum, not just checksum
Bug: 10614658
Change-Id: Ie0b5a34fd396b6299000c37909108c5e7e6ab80f
Diffstat (limited to 'runtime/oat_file.h')
-rw-r--r-- | runtime/oat_file.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/oat_file.h b/runtime/oat_file.h index bbd2615b66..270976f030 100644 --- a/runtime/oat_file.h +++ b/runtime/oat_file.h @@ -204,7 +204,8 @@ class OatFile { DISALLOW_COPY_AND_ASSIGN(OatDexFile); }; - const OatDexFile* GetOatDexFile(const std::string& dex_file_location, + const OatDexFile* GetOatDexFile(const std::string& dex_location, + const uint32_t* const dex_location_checksum, bool exception_if_not_found = true) const SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); std::vector<const OatDexFile*> GetOatDexFiles() const; |