summaryrefslogtreecommitdiff
path: root/libs/jpegrecoverymap/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Dominik Laskowski <domlaskowski@google.com> 2022-11-21 17:21:22 -0500
committer Dominik Laskowski <domlaskowski@google.com> 2022-11-22 18:46:20 -0500
commit3f726401556680204be2e4bc6bba722beb80c037 (patch)
tree791a700f716c0bfe01964232cbd6ce7bee86ca5f /libs/jpegrecoverymap/jpegencoderhelper.cpp
parentb4ff7d97a9935d8d02b78c7f3ded69fb9d87bee4 (diff)
SF: Obey active display's RefreshRateSelector
When a display becomes active, apply its RefreshRateSelector's policy, as it may have changed while the display was inactive. When booting while folded, DisplayManager first sends DisplayModeSpecs for each display, and then powers on the outer display. Before this CL, the outer display would become the new active/leader display, but its DisplayManagerPolicy would never be applied. Also, remove calls during boot (or restart) that are now redundant given that onActiveDisplayChangedLocked is called when powering on the primary display in onInitializeDisplays. Bug: 250421145 Test: Force 120 Hz, and reboot while folded. Test: Apply Ifaa46027bad8ff0945db9da5c30f2f31b6c8d10c and repeat. Change-Id: I15e0f5a280e62baf6d4e6ea2748d95342e79ac44
Diffstat (limited to 'libs/jpegrecoverymap/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions