Merge "Bluetooth: fix connectGatt overload invocations" into oc-dev
am: 556b10a4e6
Change-Id: I9477ac6e3990a4e2db4a8254f11702b1557591f3
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user