Properly mangle file names
Change-Id: I49c0f82e8c06f056198eb64b8369d83403b74321
diff --git a/tools/aapt2/ZipEntry.h b/tools/aapt2/ZipEntry.h
index d048a3e..2745a43 100644
--- a/tools/aapt2/ZipEntry.h
+++ b/tools/aapt2/ZipEntry.h
@@ -171,9 +171,10 @@
/*
* Initialize the structure with the contents of a ZipEntry from
- * another file.
+ * another file. If fileName is non-NULL, override the name with fileName.
*/
- status_t initFromExternal(const ZipFile* pZipFile, const ZipEntry* pEntry);
+ status_t initFromExternal(const ZipFile* pZipFile, const ZipEntry* pEntry,
+ const char* fileName);
/*
* Add some pad bytes to the LFH. We do this by adding or resizing