summaryrefslogtreecommitdiff
path: root/libs/input/InputWindow.cpp
diff options
context:
space:
mode:
author Marin Shalamanov <shalamanov@google.com> 2020-12-10 15:35:28 +0100
committer Marin Shalamanov <shalamanov@google.com> 2021-01-06 19:22:40 +0100
commiteadf2e71ec770dceb781f393a2ce813bc0912aac (patch)
tree76def6724f2762cd973a44abc76e16e07a2b9716 /libs/input/InputWindow.cpp
parent35f2d67812362e057cd32ba9e06e594a77095483 (diff)
SF: Mutable RefreshRateConfigs
Modify the list of supported refresh rates in RefreshRateConfigs on hotplug. In order to support this the RefreshRateConfigs class is refactored to not return references to its internal members, but instead return copies. This won't be expensive because the RefreshRate objects which are returned are small. Bug: 159590486 Test: 1. boot w/o display 2. connect a display which supports multiple refresh rates 3. request a mode switch from an app 4. verify that the switch works Test: atest libsurfaceflinger_unittest Test: toggle refresh rate overlay adb shell service call SurfaceFlinger 1034 i32 1/0 Change-Id: I1588bf004a0a0319a94931adbfb822836703849a
Diffstat (limited to 'libs/input/InputWindow.cpp')
0 files changed, 0 insertions, 0 deletions