Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8eec3733 authored by Tao Bao's avatar Tao Bao
Browse files

Fix a log issue in ui.cpp.

It's a copy/paste error when addressing reviewer's comment for commit
6278bdf3.

Test: recovery gives the right message (e.g. "Permission denied") when
      it fails to read max_brightness.

Change-Id: I10372c82595bdc00a6f6725f036c02721b19a1aa
parent 7ab9c381
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
  }