summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'compiler')
-rw-r--r--compiler/oat_writer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/oat_writer.cc b/compiler/oat_writer.cc
index 34d2ec9cde..c5ec859d1f 100644
--- a/compiler/oat_writer.cc
+++ b/compiler/oat_writer.cc
@@ -2283,7 +2283,7 @@ bool OatWriter::LayoutAndWriteDexFile(OutputStream* out, OatDexFile* oat_dex_fil
dex_file = DexFile::Open(raw_dex_file,
header->file_size_,
location,
- header->checksum_,
+ oat_dex_file->dex_file_location_checksum_,
nullptr,
/* verify */ true,
/* verify_checksum */ false,