summaryrefslogtreecommitdiff
path: root/packages/SettingsProvider/test/src/android/provider/SettingsBackupTest.java
diff options
context:
space:
mode:
authorJosh Tsuji <tsuji@google.com>2021-10-04 15:23:59 -0400
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-10-06 03:55:56 +0000
commitce6a7cf33c50fd488de804a6789b03303634ada4 (patch)
tree2e83ccc920a8039b7d436532d5a62296a2471472 /packages/SettingsProvider/test/src/android/provider/SettingsBackupTest.java
parent690ad8f473d0b596dbfc9a0c7b8d76adf8240c57 (diff)
[DO NOT MERGE] Improve brightness handling during screen off timeout.
- Align doze brightness logic with DisplayPowerController, so that the 'minimum dim amount' is taken into account by DozeScreenBrightness. - Clamp brightness to the now-correct dim value during the entire screen off animation, rather than sometimes transitioning to the sensor value. Apply the sensor brightness value on changing to the DOZE Display state, which happens after the screen off animation. Bug: 194972547 Test: at 0%, 45%, and 100% brightness, allow the screen to time out in bright and dark rooms, observe minimal brightness changes Change-Id: I528a944e04f8906cd8c7740eea97dd8fba7c3d3e (cherry picked from commit bb8219d84b2dcf91176674dabc856dc98fc03f7a)
Diffstat (limited to 'packages/SettingsProvider/test/src/android/provider/SettingsBackupTest.java')
0 files changed, 0 insertions, 0 deletions