diff options
author | Arthur Hung <arthurhung@google.com> | 2019-05-20 11:12:53 +0800 |
---|---|---|
committer | Arthur Hung <arthurhung@google.com> | 2019-05-27 02:56:34 +0000 |
commit | 1fc214bdfc6253be161581cf159a7ab28988f26e (patch) | |
tree | de59b412151a6dc40f9d792a8d47fae00971cfc7 /startop/scripts/lib/cmd_utils.py | |
parent | 1100dd8db974c933113cac79fce55596d41bf5d8 (diff) |
Fix a deadlock between WindowManagerGlobal and WindowManagerService
When a new display added, would first lock WMS then create a new
DisplayContent, that would also create the corresponding
SystemGesturesPointerEventListener, GestureDetector, ViewConfiguration,
and WindowManagerImpl, and it would also temporarily lock
WindowManagerGlobal in WindowManagerImpl's constructor.
This patch would post creating GestureDetector to avoid the deadlock
caused by other thread also lock WMS/WindowMaagerGlobal at same time.
Bug: 132746553
Test: create a app with splash screen and connect to new display at same
time.
Change-Id: I246e596dff387923356bbc579f785b634d3d2468
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions