summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Dominik Laskowski <domlaskowski@google.com> 2023-09-21 14:30:34 -0400
committer Dominik Laskowski <domlaskowski@google.com> 2023-09-22 11:59:10 -0400
commitca96eff48fd242026e5160aab494adc86fa55cf8 (patch)
treee3da8af9f5dd9a845b0bcd61749d21c29f7b5aff /libs/ultrahdr/jpegencoderhelper.cpp
parent93a128378e1b48bf7f9937558311a5810f2e283f (diff)
SF: Fix mode setting for UDFPS with disabled AOD
When AOD is off, DM sends its policy to SF while the display is powered off. SF defers applying the policy of powered off displays, assuming it will be applied when the display becomes the active display upon power- on, as a special case for foldables. However, in the case of UDFPS with disabled AOD, there is no change in active display, so SF did not apply the policy to switch to 120 Hz on the lockscreen. Tighten the condition for skipping mode set to only affect foldables in non-concurrent mode. Fixes: 300189378 Test: 120 Hz for UDFPS when Smooth Display and AOD are disabled. Test: 60/120 Hz still works on fold/unfold and concurrent mode. Test: DisplayModeSwitchingTest.powerOffDuringModeSet Change-Id: Iedd25f8caed69c1dd304ee9f6341dba6bcdc87d7
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions