commit | 71535717d491decb1e551bd1789407cb22719153 | [log] [tgz] |
---|---|---|
author | Vlad Popa <pvlad@google.com> | Tue Sep 06 14:25:46 2022 +0200 |
committer | Vlad Popa <pvlad@google.com> | Fri Sep 30 08:52:09 2022 +0000 |
tree | 4680698baf6e4dd5a4897c9fbaa5ae7f5076fd98 | |
parent | 05d1acf688ce585f9abe07913a51b2e5dc3bd670 [diff] |
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