diff options
author | lumark <lumark@google.com> | 2018-11-16 21:24:51 +0800 |
---|---|---|
committer | lumark <lumark@google.com> | 2018-11-16 21:34:20 +0800 |
commit | 52ef1bf893e27da84c179b91fa864ecb73f809c7 (patch) | |
tree | ad069ea6cb2bbcf6d484880506ccb48d8382c401 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 92052f6f8e35886f92b65268e20112c28abac222 (diff) |
Fix system circular wait during top display focus change
ag/5312657 introduced reporting top focus display change mechanism to ViewRootImpl
for IME window re-focus on top display.
When current focus on external display, system dialog popup on default display,
and then dismiss system dialog, System will possible got circular waiting
for ViewRootImpl lock <-> WMS global lock during reporting top display focus
change to ViewRootImpl & system dialog doing removeWindow for dismissal.
Let WindowState.reportFocusChangedSerialized out of WMS global lock
to fix the case.
Bug: 119658889
Test: manual to verify the issue case can pass
Test: atest ActivityManagerMultiDisplayTests
Change-Id: Ia30a279441def501e53eeee8913d19ac50a620cd
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions