summaryrefslogtreecommitdiff
path: root/libs/ui/DisplayInfo.cpp
diff options
context:
space:
mode:
author Marin Shalamanov <shalamanov@google.com> 2021-02-10 21:43:57 +0100
committer Marin Shalamanov <shalamanov@google.com> 2021-02-17 13:28:48 +0100
commit75f37254cfcef4e54fab8121cc03c021842aa59a (patch)
tree20d089ac4d4ac3d6f2d756603b2f54ef6537991f /libs/ui/DisplayInfo.cpp
parent93be444a3d8e6e2d0ef73f82b0e42104ad4462bc (diff)
SF: Reset RefreshRateConfigs policy when modes change
When the display modes change the old display policy may no longer be valid, so we need reset it. This CL also adds a test for the broken scenario. Bug: 159590486 Test: atest RefreshRateConfigs Test: manually 0. device boots in 60hz mode 1. switch to 50hz from app 2. disconnect display 3. reconnect display 4. verify that SF doesn't crash Change-Id: Ib935fb4ebce241c4771ffef75b102741e51b96c0
Diffstat (limited to 'libs/ui/DisplayInfo.cpp')
0 files changed, 0 insertions, 0 deletions