summaryrefslogtreecommitdiff
path: root/runtime/class_loader_context.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2017-10-19 13:59:55 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2017-10-20 14:22:52 +0100
commit095c6c96236476b605b3ac672f6d2b8c151e9479 (patch)
treefe04b7fe93e65efadd3f019dd1ecba4c2c40df18 /runtime/class_loader_context.cc
parentb277aa1385f7f4593c9978d8106669142d158f4f (diff)
Pass the verify flag to DexFileLoader utilities.
Refactoring-only change. Also remove unused DexFilerLoader::OpenMemory. bug: 30972906 bug: 63920015 Test: build. Change-Id: I7cd4b5787565ab1a3457ce2be6bb14657229c550
Diffstat (limited to 'runtime/class_loader_context.cc')
-rw-r--r--runtime/class_loader_context.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/class_loader_context.cc b/runtime/class_loader_context.cc
index 167533d68a..5510743362 100644
--- a/runtime/class_loader_context.cc
+++ b/runtime/class_loader_context.cc
@@ -230,6 +230,7 @@ bool ClassLoaderContext::OpenDexFiles(InstructionSet isa, const std::string& cla
// contents. So pass true to verify_checksum.
if (!DexFileLoader::Open(location.c_str(),
location.c_str(),
+ /*verify*/ true,
/*verify_checksum*/ true,
&error_msg,
&info.opened_dex_files)) {