diff options
author | 2017-10-19 13:59:55 +0100 | |
---|---|---|
committer | 2017-10-20 14:22:52 +0100 | |
commit | 095c6c96236476b605b3ac672f6d2b8c151e9479 (patch) | |
tree | fe04b7fe93e65efadd3f019dd1ecba4c2c40df18 /runtime/class_loader_context.cc | |
parent | b277aa1385f7f4593c9978d8106669142d158f4f (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.cc | 1 |
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)) { |