commit | 69330d4c9c96a4770d2ac3b06298f3345bb76cd4 | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Wed Apr 08 19:29:50 2020 +0000 |
committer | Mikhail Naganov <mnaganov@google.com> | Wed Apr 08 19:29:50 2020 +0000 |
tree | bd3ad71318e33aaea9a6ca5222ada1962d0a7fd6 | |
parent | 95ec1b8ea487abbf4ef50d53c227338f559e9599 [diff] |
Move AudioSystem errorCallback call out from gLock Since the error callback ends up calling into Java, there is a potential for a deadlock with Java code that takes AudioSystem.class lock and calls into native code that takes gLock in its own turn. Bug: 152819012 Test: use audio on a phone, also killing native audioserver while watching YT, also while making cellular calls Change-Id: Ib288ba96ae2f7b5ab36c1b0a1db4adde487d6a49