Merge "Fix a log issue in ui.cpp." am: 7f38fbf976 am: c33d037d7d am: 2be767eba4
am: 8af3af933b
Change-Id: If2e117d67d4f26c9014d6eb53b9fdc4b33b9332b
diff --git a/ui.cpp b/ui.cpp
index 5efdc5a..3ecd6d1 100644
--- a/ui.cpp
+++ b/ui.cpp
@@ -100,7 +100,7 @@
// 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;
}