Skip to content
Commit 71535717 authored by Vlad Popa's avatar Vlad Popa
Browse files

Remove calls to client while holding lock

The dispatchPlaybackConfigChange callback could cause a deadlock in
case the client is running in the same process as the AudioService and
at the same time it's unregistering a client while a dispatch is active.

Test: CtsMediaAudioTestCases and dumpsys audio
Bug: 227596824
Change-Id: Ibe2ee8a9161774f290f222ccf9d5bf9e9e4e1cfd
Merged-In: I6c6c13e254cb048aebc63cb594b0c4658cf86b91
parent 05d1acf6
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