summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-02-01 17:39:12 +0100
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-02-01 17:39:13 +0100
commit7f38fbf976bd9fb145925a803af49410fa43a8a6 (patch)
tree345f11572dfd3af6384cda5cbcd425d742f78204
parentMerge "bootable/recovery: cleanup compiler warnings (potential leak of memory)" (diff)
parentFix a log issue in ui.cpp. (diff)
downloadandroid_bootable_recovery-7f38fbf976bd9fb145925a803af49410fa43a8a6.tar
android_bootable_recovery-7f38fbf976bd9fb145925a803af49410fa43a8a6.tar.gz
android_bootable_recovery-7f38fbf976bd9fb145925a803af49410fa43a8a6.tar.bz2
android_bootable_recovery-7f38fbf976bd9fb145925a803af49410fa43a8a6.tar.lz
android_bootable_recovery-7f38fbf976bd9fb145925a803af49410fa43a8a6.tar.xz
android_bootable_recovery-7f38fbf976bd9fb145925a803af49410fa43a8a6.tar.zst
android_bootable_recovery-7f38fbf976bd9fb145925a803af49410fa43a8a6.zip
-rw-r--r--ui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.cpp b/ui.cpp
index 5efdc5a48..3ecd6d125 100644
--- a/ui.cpp
+++ b/ui.cpp
@@ -100,7 +100,7 @@ bool RecoveryUI::InitScreensaver() {
// we don't have a good way to query the default value.
std::string content;
if (!android::base::ReadFileToString(MAX_BRIGHTNESS_FILE, &content)) {
- LOG(WARNING) << "Failed to read max brightness: " << content;
+ PLOG(WARNING) << "Failed to read max brightness";
return false;
}