commit | b927ac9fdcff95e37cfa65aa94a7682bd68b254b | [log] [tgz] |
---|---|---|
author | Vlad Popa <pvlad@google.com> | Tue Sep 06 14:25:46 2022 +0200 |
committer | Vlad Popa <pvlad@google.com> | Wed Sep 07 11:22:55 2022 +0200 |
tree | 94837c87f80f4b5799b21fee743a5b5740e5b96e | |
parent | 7b46b29bcef9eac6ba673a5a65ccb85ff98ce9e6 [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: I6c6c13e254cb048aebc63cb594b0c4658cf86b91