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

Commit dbf5a0a2 authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

Bluetooth: fix connectGatt overload invocations

Merged-In: I726252e85e78bff2c9585332d2748a0d92a9f6d3
Test: sl4a GattOverBrEdrTest
Bug: 62387078
Change-Id: I5bfb87683e25f8862587e8000eb4c9bb6ff14f99
parent 980582e5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1658,7 +1658,7 @@ public final class BluetoothDevice implements Parcelable {
     */
    public BluetoothGatt connectGatt(Context context, boolean autoConnect,
                                     BluetoothGattCallback callback, int transport) {
        return (connectGatt(context, autoConnect,callback, TRANSPORT_AUTO, PHY_LE_1M_MASK));
        return (connectGatt(context, autoConnect,callback, transport, PHY_LE_1M_MASK));
    }

    /**
@@ -1682,7 +1682,7 @@ public final class BluetoothDevice implements Parcelable {
     */
    public BluetoothGatt connectGatt(Context context, boolean autoConnect,
                                     BluetoothGattCallback callback, int transport, int phy) {
        return connectGatt(context, autoConnect,callback, TRANSPORT_AUTO, PHY_LE_1M_MASK, null);
        return connectGatt(context, autoConnect,callback, transport, phy, null);
    }

    /**