Merge "Fix a race condition in the A2dpProfile constructor" into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
8d87842690
@@ -101,9 +101,9 @@ public class A2dpProfile implements LocalBluetoothProfile {
|
||||
mLocalAdapter = adapter;
|
||||
mDeviceManager = deviceManager;
|
||||
mProfileManager = profileManager;
|
||||
mWrapperFactory = new BluetoothA2dpWrapperImpl.Factory();
|
||||
mLocalAdapter.getProfileProxy(context, new A2dpServiceListener(),
|
||||
BluetoothProfile.A2DP);
|
||||
mWrapperFactory = new BluetoothA2dpWrapperImpl.Factory();
|
||||
}
|
||||
|
||||
@VisibleForTesting
|
||||
|
||||
Reference in New Issue
Block a user