summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
author Alec Mouri <alecmouri@google.com> 2023-09-11 22:09:03 +0000
committer Alec Mouri <alecmouri@google.com> 2023-09-14 23:47:54 +0000
commit93a128378e1b48bf7f9937558311a5810f2e283f (patch)
tree5abaa2a069ca7599f711985c8450738aca568bb7 /libs/gui/LayerState.cpp
parent61a7b125c00c0d9768306efbcabca7d73698d392 (diff)
Don't dim screenshots when there's no HDR on-screen.
Dimming the screenshot: * Is incorrect for screenshots that leave the device * For transitions, requires disabling dimming which reports to DisplayManager that the screenshot is HDR, which costs power. Bug: 293560925 Bug: 298492174 Bug: 299055884 Flag: Exempt Test: screen rotation with and without HDR Test: systemui jank suite Change-Id: Id6de2c8d3987300a1c24bf79dc5b523f40420174 (cherry picked from commit b4814de15685275e1c57b6a5250418fd6ffddd60) Merged-In: Id6de2c8d3987300a1c24bf79dc5b523f40420174
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions