Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 74127c07 authored by Manasi Navare's avatar Manasi Navare
Browse files

Update rejected modes votes only if the display is registered



If an initial display config fails soon after hotplug,
There could be a race condition to update the rejected modes
vote for a display and display being registered.
So fix that by updating the votes by using onDisplayAdded()
and onModeRejected() callbacks.

Bug: 393132034
Test: manual, induce config failure in DRM HWC and test that the
ModeChangeObserver updates the rejected modes votes
Flag: com.android.graphics.surfaceflinger.flags.display_config_error_hal

Change-Id: Icb2ab24567eeca740ab1e997e5e9dcd818b14ed9
Signed-off-by: default avatarManasi Navare <navaremanasi@google.com>
parent 22067462
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment