Merge "Fix a log issue in ui.cpp." am: 7f38fbf976 am: c33d037d7d
am: 2be767eba4
Change-Id: Id0b175413d92e994fb18c0b93bdfd20a02843e6c
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;
}