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

Skip to content
Commit 3e3d28cc authored by Lloyd Pique's avatar Lloyd Pique
Browse files

Move hotplug processing to the main thread

Queue up all hotplug events for processing in the main thread, as part
of a display transaction (eDisplayTransactionNeeded).

This is needed so that everything done for each individual hotplug disconnect or
connect is done at the same time,  such as creating and destroying the
corresponding DisplayDevice.

This fixes an issue with a hotplug disconnect event followed by an
immediate connect event for the same display not being handled properly.

Bug: 38464421
Test: Immediate disconnect/connect handled correctly.
Change-Id: I96266db8b02ffd6ad9eb4897d6c8510657775991
Merged-In: I96266db8b02ffd6ad9eb4897d6c8510657775991
(cherry picked from commit ba04e623)
parent b3206283
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