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

Commit fbc26519 authored by Jack He's avatar Jack He Committed by android-build-merger
Browse files

Merge "Fix formatting issue on Headset State Machine" am: 9f03e5b5

am: 7d3d4408

Change-Id: I2520608c3b1afe11b6ae30735b9008870d8c4912
parents ea7fcd46 7d3d4408
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2296,8 +2296,7 @@ final class HeadsetStateMachine extends StateMachine {
        intent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, prevState);
        intent.putExtra(BluetoothProfile.EXTRA_STATE, newState);
        intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device);
        mService.sendBroadcastAsUser(intent, UserHandle.ALL,
                HeadsetService.BLUETOOTH_PERM);
        mService.sendBroadcastAsUser(intent, UserHandle.ALL, HeadsetService.BLUETOOTH_PERM);
    }

    private void broadcastAudioState(BluetoothDevice device, int newState, int prevState) {