summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
author Marin Shalamanov <shalamanov@google.com> 2021-02-11 18:26:14 +0100
committer Marin Shalamanov <shalamanov@google.com> 2021-03-02 15:12:37 +0100
commitd3b5c5dbfcb6d731544e73d8df6a32bf942db764 (patch)
tree9ddd35230c3ff3dfca10be59af6ae142a633ff9a /libs/gui/LayerState.cpp
parentf22e6acbb450853a4535b1628927aa93f799c53f (diff)
SF: Requery display modes if the active mode is not supported
Some TV devices send two hotplug events immediately one after another during startup. Because we query the active display mode and the supported modes in two separete calls to HWC it's possible to get an active mode, which is not in the list of supported modes. If this happens we requery the display modes up to 3 times. If the problem still persists we throw a fatal error. Bug: 175678215 Bug: 159590486 Test: check that device boots Test: plug HDMI out and it Change-Id: I94dbadac4eb75ed659ede6299df0c3459ed6c74e
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions