Fix usage of ZipFileRO::getEntryInfo
Extra field size has been added to getEntryInfo. Adding parameter to call.
Test: mma libandroidfw
Bug: 334109171
Change-Id: I9be7a4e412728ad96b5a623cf2a937c88a4b7f4c
diff --git a/client/fastdeploy.cpp b/client/fastdeploy.cpp
index adf3155..0fb4f13 100644
--- a/client/fastdeploy.cpp
+++ b/client/fastdeploy.cpp
@@ -160,7 +160,8 @@
error_exit("Could not find AndroidManifest.xml inside %s", apk_path);
}
uint32_t manifest_len = 0;
- if (!zip_file->getEntryInfo(entry, NULL, &manifest_len, NULL, NULL, NULL, NULL)) {
+ if (!zip_file->getEntryInfo(entry, nullptr, &manifest_len, nullptr, nullptr, nullptr, nullptr,
+ nullptr)) {
error_exit("Could not read AndroidManifest.xml inside %s", apk_path);
}
std::vector<char> manifest_data(manifest_len);