summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhang, GaofengX <gaofengx.zhang@intel.com>2019-06-13 03:01:16 +0200
committerandroid-build-merger <android-build-merger@google.com>2019-06-13 03:01:16 +0200
commit12853903235955bdbe2e4ccbecd4119054b3a2b7 (patch)
tree60c39ca2fcb8bebd856f6443a3e5c2c9cacb880c
parent[automerger skipped] minadbd: `adb rescue getprop` returns newline-terminated result. am: e3cc180d31 -s ours (diff)
parentMerge "Avoid key_queue_mutex deadlock in waitkey()" am: eb33356544 am: 6a550f518e (diff)
downloadandroid_bootable_recovery-12853903235955bdbe2e4ccbecd4119054b3a2b7.tar
android_bootable_recovery-12853903235955bdbe2e4ccbecd4119054b3a2b7.tar.gz
android_bootable_recovery-12853903235955bdbe2e4ccbecd4119054b3a2b7.tar.bz2
android_bootable_recovery-12853903235955bdbe2e4ccbecd4119054b3a2b7.tar.lz
android_bootable_recovery-12853903235955bdbe2e4ccbecd4119054b3a2b7.tar.xz
android_bootable_recovery-12853903235955bdbe2e4ccbecd4119054b3a2b7.tar.zst
android_bootable_recovery-12853903235955bdbe2e4ccbecd4119054b3a2b7.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: