summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-02-01 17:47:28 +0100
committerandroid-build-merger <android-build-merger@google.com>2017-02-01 17:47:28 +0100
commit8af3af933b446d852636e31a0f5229e07de16ac6 (patch)
treeb7be612c73a4b0c1ae06194ffef132e1cff6b9e5
parentMerge "bootable/recovery: cleanup compiler warnings (potential leak of memory)" am: 7ab9c3812d am: 29ef12f777 (diff)
parentMerge "Fix a log issue in ui.cpp." am: 7f38fbf976 (diff)
downloadandroid_bootable_recovery-8af3af933b446d852636e31a0f5229e07de16ac6.tar
android_bootable_recovery-8af3af933b446d852636e31a0f5229e07de16ac6.tar.gz
android_bootable_recovery-8af3af933b446d852636e31a0f5229e07de16ac6.tar.bz2
android_bootable_recovery-8af3af933b446d852636e31a0f5229e07de16ac6.tar.lz
android_bootable_recovery-8af3af933b446d852636e31a0f5229e07de16ac6.tar.xz
android_bootable_recovery-8af3af933b446d852636e31a0f5229e07de16ac6.tar.zst
android_bootable_recovery-8af3af933b446d852636e31a0f5229e07de16ac6.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;
}