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

Commit c9f690e3 authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by Gerrit Code Review
Browse files

Merge "Bluetooth: fix connectGatt overload invocations"

parents deed1af9 9b6692e6
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);
    }

    /**