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

Commit a45132b0 authored by Grzegorz Kołodziejczyk's avatar Grzegorz Kołodziejczyk Committed by Automerger Merge Worker
Browse files

Remove dead intent related code for LeAudio am: 4939a1a9

parents 5a2a1188 4939a1a9
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -1283,7 +1283,6 @@ public class LeAudioService extends ProfileService {
    void messageFromNative(LeAudioStackEvent stackEvent) {
        Log.d(TAG, "Message from native: " + stackEvent);
        BluetoothDevice device = stackEvent.device;
        Intent intent = null;

        if (stackEvent.type == LeAudioStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED) {
            // Some events require device state machine
@@ -1557,10 +1556,6 @@ public class LeAudioService extends ProfileService {
                setCcidInformation(userUuid, ccidInformation.first, ccidInformation.second);
            }
        }

        if (intent != null) {
            sendBroadcast(intent, BLUETOOTH_CONNECT);
        }
    }

    private LeAudioStateMachine getOrCreateStateMachine(BluetoothDevice device) {