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