Merge "Fix a log issue in ui.cpp."

This commit is contained in:
Tao Bao 2017-02-01 16:39:12 +00:00 committed by Gerrit Code Review
commit 7f38fbf976

2
ui.cpp
View file

@ -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;
}