summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Pawan Wagh <waghpawan@google.com> 2024-06-03 21:43:13 +0000
committer Pawan Wagh <waghpawan@google.com> 2024-06-04 22:38:31 +0000
commit8efc3c4bd407d4011db5b969b03a8d8d715acaf6 (patch)
tree6a27c97c283806b996afe8722617a221114ffc96 /cmds/bootanimation/BootAnimation.cpp
parentfbe2bd372f402454489fa831e11359cc657b055c (diff)
Fix usage of ZipFileRO::getEntryInfo
Extra field size has been added to getEntryInfo. Adding parameter to call. Test: mma libandroidfw Bug: 334109171 Change-Id: I38f0884c69c7b3b2871f264e41971a86c61bda65
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
-rw-r--r--cmds/bootanimation/BootAnimation.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmds/bootanimation/BootAnimation.cpp b/cmds/bootanimation/BootAnimation.cpp
index 5adcd930e341..7eb9d0f3ea91 100644
--- a/cmds/bootanimation/BootAnimation.cpp
+++ b/cmds/bootanimation/BootAnimation.cpp
@@ -1335,7 +1335,8 @@ bool BootAnimation::preloadZip(Animation& animation) {
if (path.string() == animation.parts[j].path.c_str()) {
uint16_t method;
// supports only stored png files
- if (zip->getEntryInfo(entry, &method, nullptr, nullptr, nullptr, nullptr, nullptr)) {
+ if (zip->getEntryInfo(entry, &method, nullptr, nullptr, nullptr, nullptr,
+ nullptr, nullptr)) {
if (method == ZipFileRO::kCompressStored) {
FileMap* map = zip->createEntryFileMap(entry);
if (map) {