Loading
Reduce the use of locks to avoid deadlock
ActiveDeviceManager and HeadsetService hold locks. When they call each other's method with the lock, deadlock could happen. This CL reduce the usage of such methods calls with the lock. Bug: 298530017 Test: atest BluetoothInstrumentationTests Change-Id: Ic7d454b10be22b4d4e4a235dc32c50b90d652a21