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

Commit 4fae26cd authored by Etienne Ruffieux's avatar Etienne Ruffieux Committed by Android (Google) Code Review
Browse files

Merge "Removed calls to connect/disconnect LeAudio"

parents 2a3f3807 4f165c94
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -147,7 +147,7 @@ public class LeAudioProfile implements LocalBluetoothProfile {
        if (mService == null) {
            return false;
        }
       return mService.connect(device);
        return mService.setConnectionPolicy(device, BluetoothProfile.CONNECTION_POLICY_ALLOWED);
    }

    /*
@@ -157,7 +157,7 @@ public class LeAudioProfile implements LocalBluetoothProfile {
        if (mService == null) {
            return false;
        }
       return mService.disconnect(device);
        return mService.setConnectionPolicy(device, BluetoothProfile.CONNECTION_POLICY_FORBIDDEN);
    }

    public int getConnectionStatus(BluetoothDevice device) {