Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2c7dddd authored by Antony Sargent's avatar Antony Sargent Committed by android-build-merger
Browse files

Merge "Fix a race condition in the A2dpProfile constructor" into oc-dev am: 8d878426

am: 81877dbb

Change-Id: Ia5bf4beb7325e63d718073edfcea5360965ac8c3
parents 0dc609a1 81877dbb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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