summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Pawan Wagh <waghpawan@google.com> 2024-03-28 16:06:21 +0000
committer Pawan Wagh <waghpawan@google.com> 2024-04-11 03:28:35 +0000
commit38d8f72e8dfca3ddc40edb057246f0645cc6f360 (patch)
tree7a61e0089acad4ab778859fbd21b00cc975f1daf /libs/androidfw/ZipFileRO.cpp
parent209c1cda37740d39194262d96faf6a686f0c4925 (diff)
Add method to return Zip file name
Test: m libandroidfw Bug: 301631861 Change-Id: If6d0ddf6e3465f984209325406cfeaffc44f9d6a
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
-rw-r--r--libs/androidfw/ZipFileRO.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/androidfw/ZipFileRO.cpp b/libs/androidfw/ZipFileRO.cpp
index 9d4b426a6759..34a6bc27b93f 100644
--- a/libs/androidfw/ZipFileRO.cpp
+++ b/libs/androidfw/ZipFileRO.cpp
@@ -310,3 +310,7 @@ bool ZipFileRO::uncompressEntry(ZipEntryRO entry, int fd) const
return true;
}
+
+const char* ZipFileRO::getZipFileName() {
+ return mFileName;
+}