From 7a6cc0c006d76953760353c00048c8134c9ba294 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 8 May 2019 12:12:39 -0700 Subject: Track libziparchive API change. Bug: http://b/129068177 Test: treehugger Change-Id: Id4b202502b07e08102deda49f7d28ba10a63bb0a --- libs/androidfw/ApkAssets.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libs/androidfw/ApkAssets.cpp') 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; } -- cgit v1.2.3-59-g8ed1b