From 38d8f72e8dfca3ddc40edb057246f0645cc6f360 Mon Sep 17 00:00:00 2001 From: Pawan Wagh Date: Thu, 28 Mar 2024 16:06:21 +0000 Subject: Add method to return Zip file name Test: m libandroidfw Bug: 301631861 Change-Id: If6d0ddf6e3465f984209325406cfeaffc44f9d6a --- libs/androidfw/ZipFileRO.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libs/androidfw/ZipFileRO.cpp') 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; +} -- cgit v1.2.3-59-g8ed1b