commit | f1bf812255b00916424638f60b66ca286edf535a | [log] [tgz] |
---|---|---|
author | Ytai Ben-Tsvi <ytai@google.com> | Thu Mar 05 10:03:20 2020 -0800 |
committer | Ytai Ben-Tsvi <ytai@google.com> | Thu Mar 05 10:51:24 2020 -0800 |
tree | 9556439c1e4138671c97c9a4f2a67db778e3680d | |
parent | 5688bc3e4c7e840c55c920905ffcdcddabbba3b7 [diff] |
Fix deadlock between audio policy manager and sound trigger m/w Audio policy manager and sound trigger middleware services both call into each other and each has global locks, which may result in a deadlock. We previously made sure that calls from sound trigger into APM are done outside of the lock, but have missed a lock in one of the decorators, namely SoundTriggerMiddlewareValidation. Bug: 150843018 Test: Manual verification Change-Id: I53dfd15e137a5137d664e75e5451c444ab848489