commit | f0bc45fba09e9183ad6bdc75207b05eb33b02e72 | [log] [tgz] |
---|---|---|
author | Josh Tsuji <tsuji@google.com> | Thu Jul 01 22:32:51 2021 -0400 |
committer | Josh Tsuji <tsuji@google.com> | Fri Jul 02 09:21:46 2021 -0700 |
tree | bcbfef4d0fc87e87d94201cff4c68e8fdd33065e | |
parent | a52ca6db467997e8a90f864b5ff4ced4417a44ba [diff] |
Clamp brightness to dim value if we're timing out and playing the screen off animation. This is the value PowerManager uses to dim the screen just before timeout, per https://source.corp.google.com/sc-dev/frameworks/base/core/res/res/values/config.xml;l=1349?q=config_screenBrightnessDim. Fixes: 190581215 Test: watch the screen off, no brightness jump Change-Id: I54856416dae1270c4379cb0547712edeba02b204