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)
Loading
Please register or sign in to comment