Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9fc75134 authored by Piotr Wilczyński's avatar Piotr Wilczyński
Browse files

Min and max refresh rate per display (take 2)

- In onDisplayAdded/onDisplayChanged/onDisplayRemoved, update the min and peak refresh rates for this display.

- When Smooth Display or Force Peak Refresh Rate are turned on/off, update the min and peak refresh rates for all the displays.

- Fix the deadlock - use the supported modes by display already stored in DMD instead of getting them from DisplayManager (which acquires the DisplayManagerServiceLock).

Bug: 273298889
Bug: 314921822
Test: atest DisplayModeDirectorTest
Test: atest RefreshRateSettingsUtilsTest
Change-Id: I3f7758b4911d7fb296e71489196c1b8a1be61290
parent 9da5e00d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment