| commit | 75f37254cfcef4e54fab8121cc03c021842aa59a | [log] [tgz] |
|---|---|---|
| author | Marin Shalamanov <shalamanov@google.com> | Wed Feb 10 21:43:57 2021 +0100 |
| committer | Marin Shalamanov <shalamanov@google.com> | Wed Feb 17 13:28:48 2021 +0100 |
| tree | 20d089ac4d4ac3d6f2d756603b2f54ef6537991f | |
| parent | 93be444a3d8e6e2d0ef73f82b0e42104ad4462bc [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