commit | da3eabb2060fed4ea0491cf63e4a39ef299528d6 | [log] [tgz] |
---|---|---|
author | Beverly <beverlyt@google.com> | Thu Feb 17 20:23:05 2022 +0000 |
committer | Beverly Tai <beverlyt@google.com> | Mon Mar 14 13:18:16 2022 +0000 |
tree | c9ffa657e39b9b3e4f404029277f90de88bb1c3a | |
parent | 6376279741c0283a443a74ec6c268aa33031a5af [diff] |
DO NOT MERGE Only clamp off brightness from DOZE_INITIALIZED When the display times out, the power manager briefly decreases the brightness of the display before transitioning to AOD, so we don't want to immediately increase the brightness to the AOD brightness. However, for all other state changes we don't need to take into account the screen off brightness clamping. Test: atest DozeScreenBrightnessTest Fixes: 197060508 Change-Id: I8d25096f45cdb18717cc3d110bf5949f202c3982