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

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

Bluetooth: fix connectGatt overload invocations

Test: sl4a GattOverBrEdrTest
Bug: 62387078
Change-Id: I5bfb87683e25f8862587e8000eb4c9bb6ff14f99
parent 9cf8c281
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1669,7 +1669,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));
    }

    /**
@@ -1693,7 +1693,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);
    }

    /**