diff options
| author | 2025-02-26 09:21:32 +0000 | |
|---|---|---|
| committer | 2025-02-26 01:33:07 -0800 | |
| commit | 23ac46c2a63972adb22b959ab404b6e969d98077 (patch) | |
| tree | 8d8fdae5ebff8124c3a375b280bd623589c160d9 /libs/gui/DisplayLuts.cpp | |
| parent | 18a80f978ff4e25855cced72a7a1600ed4d7b837 (diff) | |
Fix display brightness for HDR layers during transitions
Transitions with HDR would have a white flash due to incorrect
logic with setting display brightness. The bug was caused by
attempting to evaluate the logic for capturedHdrLayers with
several other conditions, causing the brightness to be set
to the sdrWhitePointNits if any of the conditions were false.
Fixes: b/397159125
Test: play HDR video on YouTube and switch orientation to
observe if a white flash occurs
Flag: EXEMPT, bug fix
Change-Id: Ib15060e5b113ec1345da6b3b51a66132c6ae4e6c
Diffstat (limited to 'libs/gui/DisplayLuts.cpp')
0 files changed, 0 insertions, 0 deletions