Fix a log issue in ui.cpp.
It's a copy/paste error when addressing reviewer's comment for commit
6278bdf349
.
Test: recovery gives the right message (e.g. "Permission denied") when
it fails to read max_brightness.
Change-Id: I10372c82595bdc00a6f6725f036c02721b19a1aa
This commit is contained in:
parent
7ab9c3812d
commit
8eec37330b
1 changed files with 1 additions and 1 deletions
2
ui.cpp
2
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue