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

Commit a5f943e8 authored by David Duarte's avatar David Duarte
Browse files

Remove serviceName from bindBluetoothProfileService

Bug: 305741984
Test: atest BluetoothProfileConnectorTest
Change-Id: I07ce648a7e92690f8b9f218fe221c1b250334572
parent 23c4f87a
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -271,8 +271,7 @@ public final class BluetoothA2dp implements BluetoothProfile {
    private final BluetoothAdapter mAdapter;
    private final AttributionSource mAttributionSource;
    private final BluetoothProfileConnector mProfileConnector =
            new BluetoothProfileConnector(
                    this, BluetoothProfile.A2DP, IBluetoothA2dp.class.getName());
            new BluetoothProfileConnector(this, BluetoothProfile.A2DP);

    /**
     * Create a BluetoothA2dp proxy object for interacting with the local
+1 −1
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ public final class BluetoothA2dpSink implements BluetoothProfile {
    private final AttributionSource mAttributionSource;
    private final BluetoothProfileConnector mProfileConnector =
            new BluetoothProfileConnector(
                    this, BluetoothProfile.A2DP_SINK, IBluetoothA2dpSink.class.getName());
                    this, BluetoothProfile.A2DP_SINK);

    /**
     * Create a BluetoothA2dp proxy object for interacting with the local
+1 −4
Original line number Diff line number Diff line
@@ -92,10 +92,7 @@ public final class BluetoothAvrcpController implements BluetoothProfile {
    private final BluetoothAdapter mAdapter;
    private final AttributionSource mAttributionSource;
    private final BluetoothProfileConnector mProfileConnector =
            new BluetoothProfileConnector(
                    this,
                    BluetoothProfile.AVRCP_CONTROLLER,
                    IBluetoothAvrcpController.class.getName());
            new BluetoothProfileConnector(this, BluetoothProfile.AVRCP_CONTROLLER);

    /**
     * Create a BluetoothAvrcpController proxy object for interacting with the local
+1 −4
Original line number Diff line number Diff line
@@ -207,10 +207,7 @@ public final class BluetoothCsipSetCoordinator implements BluetoothProfile, Auto
    private final BluetoothAdapter mAdapter;
    private final AttributionSource mAttributionSource;
    private final BluetoothProfileConnector mProfileConnector =
            new BluetoothProfileConnector(
                    this,
                    BluetoothProfile.CSIP_SET_COORDINATOR,
                    IBluetoothCsipSetCoordinator.class.getName());
            new BluetoothProfileConnector(this, BluetoothProfile.CSIP_SET_COORDINATOR);

    /**
     * Create a BluetoothCsipSetCoordinator proxy object for interacting with the local
+1 −2
Original line number Diff line number Diff line
@@ -506,8 +506,7 @@ public final class BluetoothHapClient implements BluetoothProfile, AutoCloseable
    private final BluetoothAdapter mAdapter;
    private final AttributionSource mAttributionSource;
    private final BluetoothProfileConnector mProfileConnector =
            new BluetoothProfileConnector(
                    this, BluetoothProfile.HAP_CLIENT, IBluetoothHapClient.class.getName());
            new BluetoothProfileConnector(this, BluetoothProfile.HAP_CLIENT);

    /**
     * Create a BluetoothHapClient proxy object for interacting with the local
Loading