diff options
author | Dan Gittik <dangittik@google.com> | 2018-03-28 12:19:38 +0100 |
---|---|---|
committer | Dan Gittik <dangittik@google.com> | 2018-04-05 11:59:31 +0000 |
commit | 7a32fba76a15d356d929b35db516fcf3f136defb (patch) | |
tree | 701cf5d2b58cee8d9e45bcc7a681b667e8d29be5 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c83cf90166120435e09a1dd4a436e095622b071c (diff) |
Added adb commands to set and reset brightness.
adb shell cmd display set-brightness BRIGHTNESS command sets the
screen brightness programatically.
adb shell cmd display reset-brightness resets the brightness
configuration to the default configuration.
Test: run "adb shell cmd display set-brightness <number>" and watch
the magic happen.
Test: run "adb shell cmd jobscheduler run -f
com.google.android.apps.turbo 104" to push a new configuration,
then run "adb shell cmd display reset-brightness-configuration"
to reset it. If it's not noticable enough, you can manually
edit /data/system/display-manager-state.xml: for example, set
nits="0.0" for all the <brightness-point />s in the
<brightness-curve /> to make it as dark as posible.
Fixes: 77574628
Change-Id: I37e19c1e662370e60c9f616a3710780f16418620
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions