Handle onModeRejected display event in DisplayModeDirector
Define a new ModeChangeObserver class to listen to the
onModeRejected() display event from SF.
Define ForbiddenModesVote to filter out the rejected mode
from the modelist and set the new DesiredModeSpecs and retry the
modeset in the scheduled next traversal.
Bug: 377702802
Test: atest
Flag: com.android.graphics.surfaceflinger.flags.display_config_error_hal
Change-Id: Icb5ff755181eeace787c4fe13c4c2fa373eaa666
Signed-off-by:
Manasi Navare <navaremanasi@google.com>
Loading
Please register or sign in to comment