summaryrefslogtreecommitdiff
path: root/opengl/java
diff options
context:
space:
mode:
author Piotr Wilczyński <wilczynskip@google.com> 2023-03-23 17:33:31 +0000
committer Piotr Wilczyński <wilczynskip@google.com> 2023-03-23 17:33:31 +0000
commit3beaadb2aafb71743f5ff7aa5d81a45212ce2149 (patch)
tree288d30fe1b10b94d31f0bca43c0e9b54e19cc630 /opengl/java
parent8e9d00cddb99b8a21cf917c02a63a77e0333e448 (diff)
Restoring SDR brightness immediately when entering dim state if the
device is in HDR brightness scale mode. Because the mBrightnessReason.modifier is updated after scaling HDR brightness by calling mHbmController.getHdrBrightnessValue(), so if the device is entering dim state, the brightness will still scaling to HDR brightness, instead of setting to dim brightness directly. Bug: 274763122 Test: atest BrightnessThrottlerTest DisplayModeDirectorTest BrightnessLevelPreferenceControllerTest HighBrightnessModeControllerTest Test: Manually operations: 1. Enable HBM function; 2. Open a HDR layer; 3. Wait until the screen is dimming; 4. Check related logs. Change-Id: Ie8ba03cfdd4a8aa446071e05db1c302182a92939
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions