Merge "Bluetooth: fix connectGatt overload invocations"
am: 404e9f209f
Change-Id: I01699795f733fbf46af10ba25afd8cb3feecc9ea
This commit is contained in:
@@ -1669,7 +1669,7 @@ public final class BluetoothDevice implements Parcelable {
|
|||||||
*/
|
*/
|
||||||
public BluetoothGatt connectGatt(Context context, boolean autoConnect,
|
public BluetoothGatt connectGatt(Context context, boolean autoConnect,
|
||||||
BluetoothGattCallback callback, int transport) {
|
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,
|
public BluetoothGatt connectGatt(Context context, boolean autoConnect,
|
||||||
BluetoothGattCallback callback, int transport, int phy) {
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user