diff options
author | Elliott Hughes <enh@google.com> | 2019-05-09 21:32:52 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-05-09 21:32:52 +0000 |
commit | 71e79a2396a0fa32063ae6e46b866d91b12d6196 (patch) | |
tree | 62dcdb719d6fa233c91ce795a7cf338fb7cb73f3 /libs/androidfw/ApkAssets.cpp | |
parent | 30fc8829edf586abf1198991147ccab7241b58d7 (diff) | |
parent | 7a6cc0c006d76953760353c00048c8134c9ba294 (diff) |
Merge "Track libziparchive API change."
Diffstat (limited to 'libs/androidfw/ApkAssets.cpp')
-rw-r--r-- | libs/androidfw/ApkAssets.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/androidfw/ApkAssets.cpp b/libs/androidfw/ApkAssets.cpp index 47b7d646d79f..7ba7828d71c4 100644 --- a/libs/androidfw/ApkAssets.cpp +++ b/libs/androidfw/ApkAssets.cpp @@ -206,9 +206,8 @@ bool ApkAssets::ForEachFile(const std::string& root_path, 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; } |