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