summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
author Marin Shalamanov <shalamanov@google.com> 2021-02-10 20:45:15 +0100
committer Marin Shalamanov <shalamanov@google.com> 2021-03-02 15:12:37 +0100
commitf22e6acbb450853a4535b1628927aa93f799c53f (patch)
treeed585c6765219a0350117e85c18497c1b9fc526c /libs/gui/LayerState.cpp
parent6025467214c00568a5f903a1c82810c5dfef35be (diff)
SF: Sequential display mode IDs
If the supported display modes differ after a hotplug assing the new modes new IDs. This way the old IDs will self invalidate. This breaks the assumption that the modes IDs are equivalent to indices in the array of supported modes. Bug: 159590486 Test: manually 0. device boots in 60hz mode 1. switch to 50hz from app 2. disconnect display 3. reconnect display dumpsys SurfaceFlinger after each step to verify mode IDs change as expected Change-Id: I44c90e8151f31e998b43649dad73c51d6948195d
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions