Commit 4433c197 authored by Ahmed Mehfooz's avatar Ahmed Mehfooz Committed by Chromium LUCI CQ

Fix color for low battery warning notification

Bug: 1159169
Change-Id: I9a23bed470b544d5da3938a6889b28fd2375201c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2643700Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Commit-Queue: Ahmed Mehfooz <amehfooz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#845829}
parent 84232eb6
...@@ -52,7 +52,7 @@ message_center::SystemNotificationWarningLevel GetWarningLevelMD( ...@@ -52,7 +52,7 @@ message_center::SystemNotificationWarningLevel GetWarningLevelMD(
return message_center::SystemNotificationWarningLevel::NORMAL; return message_center::SystemNotificationWarningLevel::NORMAL;
} else if (notification_state == } else if (notification_state ==
PowerNotificationController::NOTIFICATION_LOW_POWER) { PowerNotificationController::NOTIFICATION_LOW_POWER) {
return message_center::SystemNotificationWarningLevel::NORMAL; return message_center::SystemNotificationWarningLevel::WARNING;
} else if (notification_state == } else if (notification_state ==
PowerNotificationController::NOTIFICATION_CRITICAL) { PowerNotificationController::NOTIFICATION_CRITICAL) {
return message_center::SystemNotificationWarningLevel::CRITICAL_WARNING; return message_center::SystemNotificationWarningLevel::CRITICAL_WARNING;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment