summaryrefslogtreecommitdiff
path: root/libdexfile/dex/dex_file_loader.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2018-02-28 13:27:55 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2018-02-28 13:31:13 +0000
commit66ff8a8b82ff103d48d40e8dad01342c2d6f6d0d (patch)
treef1e177b7276d0387bc109fa12e6bd4cde060d5e9 /libdexfile/dex/dex_file_loader.cc
parent878124c13b794900b0f5c437f52ac0f61538ab55 (diff)
Revert "Revert "Full-stack integrity: check vdex contents.""
bug: 30972906 Initial revert due to 'check' file of the test needing updating for target tests. This reverts commit a19b7649faf8780737be7ce3ec48a12d81c6d69f. Change-Id: I455780bd88cd89ff80c9084d399e2beeb819b95f
Diffstat (limited to 'libdexfile/dex/dex_file_loader.cc')
-rw-r--r--libdexfile/dex/dex_file_loader.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/libdexfile/dex/dex_file_loader.cc b/libdexfile/dex/dex_file_loader.cc
index f0e54eab27..758a2f0599 100644
--- a/libdexfile/dex/dex_file_loader.cc
+++ b/libdexfile/dex/dex_file_loader.cc
@@ -204,10 +204,12 @@ std::string DexFileLoader::GetDexCanonicalLocation(const char* dex_location) {
// All of the implementations here should be independent of the runtime.
// TODO: implement all the virtual methods.
-bool DexFileLoader::GetMultiDexChecksums(const char* filename ATTRIBUTE_UNUSED,
- std::vector<uint32_t>* checksums ATTRIBUTE_UNUSED,
- std::string* error_msg,
- int zip_fd ATTRIBUTE_UNUSED) const {
+bool DexFileLoader::GetMultiDexChecksums(
+ const char* filename ATTRIBUTE_UNUSED,
+ std::vector<uint32_t>* checksums ATTRIBUTE_UNUSED,
+ std::string* error_msg,
+ int zip_fd ATTRIBUTE_UNUSED,
+ bool* zip_file_only_contains_uncompress_dex ATTRIBUTE_UNUSED) const {
*error_msg = "UNIMPLEMENTED";
return false;
}