summaryrefslogtreecommitdiffstats
path: root/tools/aapt2/ZipEntry.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/aapt2/ZipEntry.h')
-rw-r--r--tools/aapt2/ZipEntry.h5
1 files changed, 3 insertions, 2 deletions
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 @@ protected:
/*
* 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