summaryrefslogtreecommitdiff
path: root/libs/utils/ObbFile.cpp
diff options
context:
space:
mode:
author Steve Block <steveblock@google.com> 2012-01-04 20:05:49 +0000
committer Steve Block <steveblock@google.com> 2012-01-04 20:05:49 +0000
commit6215d3ff4b5dfa52a5d8b9a42e343051f31066a5 (patch)
treefa31802ed64676368447b67d20567fc1e806c79d /libs/utils/ObbFile.cpp
parentc9c76a82c6d0bf2362044d899013832882f32c94 (diff)
Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/156801 Bug: 5449033 Change-Id: Ib08fe86d23db91ee153e9f91a99a35c42b9208ea
Diffstat (limited to 'libs/utils/ObbFile.cpp')
-rw-r--r--libs/utils/ObbFile.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/utils/ObbFile.cpp b/libs/utils/ObbFile.cpp
index 2907b5666b67..11fe1e973197 100644
--- a/libs/utils/ObbFile.cpp
+++ b/libs/utils/ObbFile.cpp
@@ -179,14 +179,14 @@ bool ObbFile::parseObbFile(int fd)
actual = TEMP_FAILURE_RETRY(read(fd, scanBuf, footerSize));
// readAmount is guaranteed to be less than kMaxBufSize
if (actual != (ssize_t)footerSize) {
- LOGI("couldn't read ObbFile footer: %s\n", strerror(errno));
+ ALOGI("couldn't read ObbFile footer: %s\n", strerror(errno));
free(scanBuf);
return false;
}
#ifdef DEBUG
for (int i = 0; i < footerSize; ++i) {
- LOGI("char: 0x%02x\n", scanBuf[i]);
+ ALOGI("char: 0x%02x\n", scanBuf[i]);
}
#endif
@@ -217,7 +217,7 @@ bool ObbFile::parseObbFile(int fd)
free(scanBuf);
#ifdef DEBUG
- LOGI("Obb scan succeeded: packageName=%s, version=%d\n", mPackageName.string(), mVersion);
+ ALOGI("Obb scan succeeded: packageName=%s, version=%d\n", mPackageName.string(), mVersion);
#endif
return true;