summaryrefslogtreecommitdiffstats
path: root/media/libmedia/MediaScannerClient.cpp
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-01-27 15:24:38 -0800
committerGlenn Kasten <gkasten@google.com>2012-02-08 17:21:49 -0800
commit90bebef5669a9385c706b042d146a31dca2e5d9b (patch)
treea60c6383825eb3ed02493036605391d015732190 /media/libmedia/MediaScannerClient.cpp
parent98ec94c5854daccc3474758524e7f4adfe535ce0 (diff)
downloadframeworks_av-90bebef5669a9385c706b042d146a31dca2e5d9b.zip
frameworks_av-90bebef5669a9385c706b042d146a31dca2e5d9b.tar.gz
frameworks_av-90bebef5669a9385c706b042d146a31dca2e5d9b.tar.bz2
No newline or space at end of ALOG format string
Change-Id: I0bef580cbc818cb7c87aea23919d26f1446cec32
Diffstat (limited to 'media/libmedia/MediaScannerClient.cpp')
-rw-r--r--media/libmedia/MediaScannerClient.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/media/libmedia/MediaScannerClient.cpp b/media/libmedia/MediaScannerClient.cpp
index 9fe1820..cdfd477 100644
--- a/media/libmedia/MediaScannerClient.cpp
+++ b/media/libmedia/MediaScannerClient.cpp
@@ -142,12 +142,12 @@ void MediaScannerClient::convertValues(uint32_t encoding)
UConverter *conv = ucnv_open(enc, &status);
if (U_FAILURE(status)) {
- ALOGE("could not create UConverter for %s\n", enc);
+ ALOGE("could not create UConverter for %s", enc);
return;
}
UConverter *utf8Conv = ucnv_open("UTF-8", &status);
if (U_FAILURE(status)) {
- ALOGE("could not create UConverter for UTF-8\n");
+ ALOGE("could not create UConverter for UTF-8");
ucnv_close(conv);
return;
}
@@ -181,7 +181,7 @@ void MediaScannerClient::convertValues(uint32_t encoding)
ucnv_convertEx(utf8Conv, conv, &target, target + targetLength,
&source, (const char *)dest, NULL, NULL, NULL, NULL, TRUE, TRUE, &status);
if (U_FAILURE(status)) {
- ALOGE("ucnv_convertEx failed: %d\n", status);
+ ALOGE("ucnv_convertEx failed: %d", status);
mValues->setEntry(i, "???");
} else {
// zero terminate