diff options
author | 2024-04-03 01:43:35 +0000 | |
---|---|---|
committer | 2024-04-03 01:43:35 +0000 | |
commit | c9fc665ec09441bfc326221766e0b428088c8c50 (patch) | |
tree | f997f31d7e4adbc13999f62bedc06fd75cf88392 /libs/androidfw/ZipFileRO.cpp | |
parent | dc20b19137cd9f86767067499e50aa2a77eb5a21 (diff) |
Fix a misleading error message.
I couldn't understand on https://issuetracker.google.com/273841150
why we saw a file truncation failure error message followed by a
claim that ExtractToMemory() had failed, when only ExtractToFile()
should be doing anything with files...
Change-Id: Ic3b2c8b390a7b9f7a2e5c8b229b55c46acf6638e
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
-rw-r--r-- | libs/androidfw/ZipFileRO.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/androidfw/ZipFileRO.cpp b/libs/androidfw/ZipFileRO.cpp index d7b5914130ee..9d4b426a6759 100644 --- a/libs/androidfw/ZipFileRO.cpp +++ b/libs/androidfw/ZipFileRO.cpp @@ -304,7 +304,7 @@ bool ZipFileRO::uncompressEntry(ZipEntryRO entry, int fd) const _ZipEntryRO *zipEntry = reinterpret_cast<_ZipEntryRO*>(entry); const int32_t error = ExtractEntryToFile(mHandle, &(zipEntry->entry), fd); if (error) { - ALOGW("ExtractToMemory failed with %s", ErrorCodeString(error)); + ALOGW("ExtractToFile failed with %s", ErrorCodeString(error)); return false; } |