diff options
| author | 2023-11-10 19:45:11 +0000 | |
|---|---|---|
| committer | 2024-01-12 17:08:34 +0000 | |
| commit | 9fc751342f3a64189a45b9b6305a10a5238aa4cb (patch) | |
| tree | 558aada3fa31424f0a291e083140cd0e418813e8 /libs/androidfw/ZipFileRO.cpp | |
| parent | 9da5e00d163d288f556b71b0047da1e19c5c0af5 (diff) | |
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
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions