summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Daniel Solomon <solomondaniel@google.com> 2021-12-03 19:53:30 -0800
committer Daniel Solomon <solomondaniel@google.com> 2022-01-05 23:01:58 -0800
commitb7c40451f4e0660571f2b2cead76c49282b2194d (patch)
treedb75bc29bf41e928b5c403ccaa49b6083e3bcabe /api/api.go
parent2d6e8795f86b6aaefdc72852138148b0f73d7eb1 (diff)
Notify display brightness changed due to brightness transforms
Currently, DisplayPowerController generates display brightness change events following Manual and Adaptive Brightness changes, and ignores brightness transforms due to dimming (preceding display timeout) and low power mode. Depending on device configuration, this can prevent refresh rate policy in DisplayModeDirector from being applied correctly. This change causes a brightness change event to be triggered for those brightness transforms. Bug: 202873446 Test: Use `dumpsys display` to ensure refresh rate votes are cast correctly during display dimming prior to a timeout, and after that dimming period is interrupted by touching the display. Change-Id: Ic9442ff2fc64878b0ead074dbc9969184a183116
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions