Skip to content
Commit ed2f5bc3 authored by Jeff Chang's avatar Jeff Chang
Browse files

Fix a deadlock symptom between AM/WM

On the case,ProcessRecord.appNotResponding acquired the WMGlobalLock and waiting to
hold the AM service lock. Another thread hold the AM service lock and waiting to
acquire WMGlobalLock result in the issue.

Let the killAppCallback and serviceTimeoutCallback out of the WMGlobalLock scope.

Bug: 123173718
Test: atest ActivityStarterTests
Change-Id: I501309dc8fedbb226cd387ef6e6674a07a6d6ead
parent 96129fb7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment