commit | b97e737c181d9dec996df6d6d7777b66a1aea946 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <[email protected]> | Fri May 03 22:42:31 2019 -0700 |
committer | Elliott Hughes <[email protected]> | Fri May 03 22:42:31 2019 -0700 |
tree | 10169f13e5ce4956e8cf0ff1bb549f7b26f1e4af | |
parent | 5333210feffe4d5b829692a3ae68de02022e2334 [diff] [blame] |
Track libziparchive API change. Bug: http://b/129068177 Test: treehugger Change-Id: I88f49a06db416a7c6ec8afe87cc9cca825eb5ccb
diff --git a/libs/androidfw/tests/TestHelpers.cpp b/libs/androidfw/tests/TestHelpers.cpp index 9e320a2..a81bb6f 100644 --- a/libs/androidfw/tests/TestHelpers.cpp +++ b/libs/androidfw/tests/TestHelpers.cpp
@@ -34,9 +34,8 @@ << "': " << ::ErrorCodeString(result); } - ::ZipString name(file.c_str()); ::ZipEntry entry; - result = ::FindEntry(handle, name, &entry); + result = ::FindEntry(handle, file.c_str(), &entry); if (result != 0) { ::CloseArchive(handle); return AssertionFailure() << "Could not find file '" << file << "' in zip '" << zip_path