summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-02-01 06:24:16 +0100
committerTao Bao <tbao@google.com>2017-02-01 06:27:27 +0100
commit8eec37330b94e60f2d632fade87f2f64626e1423 (patch)
tree345f11572dfd3af6384cda5cbcd425d742f78204
parentMerge "bootable/recovery: cleanup compiler warnings (potential leak of memory)" (diff)
downloadandroid_bootable_recovery-8eec37330b94e60f2d632fade87f2f64626e1423.tar
android_bootable_recovery-8eec37330b94e60f2d632fade87f2f64626e1423.tar.gz
android_bootable_recovery-8eec37330b94e60f2d632fade87f2f64626e1423.tar.bz2
android_bootable_recovery-8eec37330b94e60f2d632fade87f2f64626e1423.tar.lz
android_bootable_recovery-8eec37330b94e60f2d632fade87f2f64626e1423.tar.xz
android_bootable_recovery-8eec37330b94e60f2d632fade87f2f64626e1423.tar.zst
android_bootable_recovery-8eec37330b94e60f2d632fade87f2f64626e1423.zip
Diffstat (limited to '')
-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;
}