summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhang, GaofengX <gaofengx.zhang@intel.com>2019-06-13 02:19:43 +0200
committerandroid-build-merger <android-build-merger@google.com>2019-06-13 02:19:43 +0200
commit6a550f518edef4109f0b7908d13070e9c3dc1100 (patch)
tree65de53345ea854be2b90efc251f0eb000b58a3bd
parentMerge "minadbd: `adb rescue getprop` returns newline-terminated result." (diff)
parentMerge "Avoid key_queue_mutex deadlock in waitkey()" (diff)
downloadandroid_bootable_recovery-6a550f518edef4109f0b7908d13070e9c3dc1100.tar
android_bootable_recovery-6a550f518edef4109f0b7908d13070e9c3dc1100.tar.gz
android_bootable_recovery-6a550f518edef4109f0b7908d13070e9c3dc1100.tar.bz2
android_bootable_recovery-6a550f518edef4109f0b7908d13070e9c3dc1100.tar.lz
android_bootable_recovery-6a550f518edef4109f0b7908d13070e9c3dc1100.tar.xz
android_bootable_recovery-6a550f518edef4109f0b7908d13070e9c3dc1100.tar.zst
android_bootable_recovery-6a550f518edef4109f0b7908d13070e9c3dc1100.zip
-rw-r--r--recovery_ui/ui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/recovery_ui/ui.cpp b/recovery_ui/ui.cpp
index 78b014a88..cf0d3b563 100644
--- a/recovery_ui/ui.cpp
+++ b/recovery_ui/ui.cpp
@@ -419,7 +419,7 @@ void RecoveryUI::SetScreensaverState(ScreensaverState state) {
LOG(INFO) << "Brightness: " << brightness_normal_value_ << " (" << brightness_normal_
<< "%)";
} else {
- LOG(ERROR) << "Unable to set brightness to normal";
+ LOG(WARNING) << "Unable to set brightness to normal";
}
break;
case ScreensaverState::DIMMED:
@@ -429,7 +429,7 @@ void RecoveryUI::SetScreensaverState(ScreensaverState state) {
<< "%)";
screensaver_state_ = ScreensaverState::DIMMED;
} else {
- LOG(ERROR) << "Unable to set brightness to dim";
+ LOG(WARNING) << "Unable to set brightness to dim";
}
break;
case ScreensaverState::OFF:
@@ -437,7 +437,7 @@ void RecoveryUI::SetScreensaverState(ScreensaverState state) {
LOG(INFO) << "Brightness: 0 (off)";
screensaver_state_ = ScreensaverState::OFF;
} else {
- LOG(ERROR) << "Unable to set brightness to off";
+ LOG(WARNING) << "Unable to set brightness to off";
}
break;
default: