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

Commit 5582e3c6 authored by Mike Lockwood's avatar Mike Lockwood
Browse files

Fix arguments to AudioManager.setBluetoothA2dpDeviceConnectionState()

Change-Id: I2a9742bc2e1127f56fafed574794f81578872681
parent b4bdee5f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -679,7 +679,8 @@ final class A2dpStateMachine extends StateMachine {
    // This method does not check for error conditon (newState == prevState)
    private void broadcastConnectionState(BluetoothDevice device, int newState, int prevState) {

        int delay = mAudioManager.setBluetoothA2dpDeviceConnectionState(device, newState);
        int delay = mAudioManager.setBluetoothA2dpDeviceConnectionState(device, newState,
                BluetoothProfile.A2DP);

        mWakeLock.acquire();
        mIntentBroadcastHandler.sendMessageDelayed(mIntentBroadcastHandler.obtainMessage(