summaryrefslogtreecommitdiffstats
path: root/runtime/zip_archive.cc
diff options
context:
space:
mode:
authorPiotr Jastrzebski <haaawk@google.com>2014-08-13 07:50:03 +0100
committerPiotr Jastrzebski <haaawk@google.com>2014-08-15 13:49:53 +0100
commitd57a84aab70e37bb165f064ae30a07b55815211c (patch)
treee0270a1c79086c21aeaf305997be9dbc4e4b470b /runtime/zip_archive.cc
parentd684cbfbe8abfb9aea4de27687041243217295c7 (diff)
downloadart-d57a84aab70e37bb165f064ae30a07b55815211c.zip
art-d57a84aab70e37bb165f064ae30a07b55815211c.tar.gz
art-d57a84aab70e37bb165f064ae30a07b55815211c.tar.bz2
Update ziparchive usage to the new API.
Bug: 16162465 Change-Id: I759c751741efd98a6470b1e04c31491686d9a189
Diffstat (limited to 'runtime/zip_archive.cc')
-rw-r--r--runtime/zip_archive.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/zip_archive.cc b/runtime/zip_archive.cc
index c02f310..63bfc44 100644
--- a/runtime/zip_archive.cc
+++ b/runtime/zip_archive.cc
@@ -123,7 +123,7 @@ ZipEntry* ZipArchive::Find(const char* name, std::string* error_msg) const {
// Resist the urge to delete the space. <: is a bigraph sequence.
std::unique_ptr< ::ZipEntry> zip_entry(new ::ZipEntry);
- const int32_t error = FindEntry(handle_, name, zip_entry.get());
+ const int32_t error = FindEntry(handle_, ZipEntryName(name), zip_entry.get());
if (error) {
*error_msg = std::string(ErrorCodeString(error));
return nullptr;