commit | 7a6cc0c006d76953760353c00048c8134c9ba294 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed May 08 12:12:39 2019 -0700 |
committer | Elliott Hughes <enh@google.com> | Wed May 08 12:29:25 2019 -0700 |
tree | 24b9044daa8f3a175cb975e4def9d7e04c13050e | |
parent | 5c47b52b93bc84521b8caa9e115ab415ed9f86ac [diff] [blame] |
Track libziparchive API change. Bug: http://b/129068177 Test: treehugger Change-Id: Id4b202502b07e08102deda49f7d28ba10a63bb0a
diff --git a/libs/androidfw/ApkAssets.cpp b/libs/androidfw/ApkAssets.cpp index 47b7d64..7ba7828 100644 --- a/libs/androidfw/ApkAssets.cpp +++ b/libs/androidfw/ApkAssets.cpp
@@ -206,9 +206,8 @@ root_path_full += '/'; } - ::ZipString prefix(root_path_full.c_str()); void* cookie; - if (::StartIteration(zip_handle_.get(), &cookie, &prefix, nullptr) != 0) { + if (::StartIteration(zip_handle_.get(), &cookie, root_path_full, "") != 0) { return false; }