commit | f47041c250b8f9dbff3db71b7b8f4aaff97ffe67 | [log] [tgz] |
---|---|---|
author | Pranav Madapurmath <pmadapurmath@google.com> | Mon Dec 16 12:28:22 2024 -0800 |
committer | Pranav Madapurmath <pmadapurmath@google.com> | Mon Dec 16 14:36:04 2024 -0800 |
tree | 12661386cc1c03ffe3d3d183aaec71119c87e601 | |
parent | 7c364909b490c7743b1c744d8ebdaad9cfefccb4 [diff] |
Synchronize active bluetooth device Ensure that we synchronize read/write on the active bluetooth device reference so that another thread doesn't modify it while it's being referenced. We were seeing instances where the active device was null even though there was an explicit NPE check before referencing it. Bug: 382590000 Change-Id: I4eddb6e696717e136771c97f5f8f89a7173e646d Test: atest CallAudioRouteControllerTest Flag: EXEMPT bugfix