commit | e973a3c3401bbe0b6f260cf2db31364a760907e3 | [log] [tgz] |
---|---|---|
author | Tyler Gunn <tgunn@google.com> | Wed Oct 30 18:21:45 2024 +0000 |
committer | Tyler Gunn <tgunn@google.com> | Wed Oct 30 18:22:18 2024 +0000 |
tree | 6833ac69b65e6bcf9287ad526165b932fa84e013 | |
parent | 8398bb2b893766a8b73bc62753d26f026de34997 [diff] |
Ensure access to mDisconnectedToneBtFutures is synchronized. The original separate bind to BT ICS code didn't sync the access to `mDisconnectedToneBtFutures`. Synchronizing that on `mLock` will prevent this type of NPE. Flag: NONE trivial npe fix Fixes: 373711813 Test: Run CTS tests, unit tests; this isn't really reproducible however as it is an uncommon timing issue. Change-Id: I1ae8d2869073428bebe7653a35fc7a5e30d973f1 Change-Id: I8adb371dbf5dd3a2b5da3319e7e33639a8baf285