Commit 536735c0 authored by Daniel Erat's avatar Daniel Erat Committed by chrome-bot
Browse files

system_api: Add power_manager::kSetScreenBrightnessMethod.

Add a new "SetScreenBrightness" constant. The existing
powerd SetScreenBrightnessPercent is being updated to take a
protocol message instead of D-Bus args, so we might as well
rename it to be shorter at the same time.

BUG=chromium:881786
TEST=used with updated powerd

Change-Id: I720b259fe518e0a9a45f981a0ba1db68d9a726b4
Reviewed-on: https://chromium-review.googlesource.com/1242034


Commit-Ready: Dan Erat <derat@chromium.org>
Tested-by: default avatarDan Erat <derat@chromium.org>
Reviewed-by: default avatarJia Meng <jiameng@chromium.org>
Reviewed-by: default avatarDan Erat <derat@chromium.org>
parent 9aded9e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment