summaryrefslogtreecommitdiff
path: root/libs/gui/DisplayEventReceiver.cpp
diff options
context:
space:
mode:
author Lloyd Pique <lpique@google.com> 2017-12-14 17:11:26 -0800
committer Lloyd Pique <lpique@google.com> 2018-05-31 15:04:14 -0700
commit3e3d28ccab0e7c60176026c18f89cb899ad92d5d (patch)
treeab300f0149bb93eacf7429098be7b89f8f39c175 /libs/gui/DisplayEventReceiver.cpp
parentb3206283f893700881805c11fc451a6f4bde6ecd (diff)
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 ba04e6237fb6ae1aede76b543028da101412b11d)
Diffstat (limited to 'libs/gui/DisplayEventReceiver.cpp')
0 files changed, 0 insertions, 0 deletions