1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-26 02:25:50 +01:00

For a start, connect with "false" #156

My connection problems went away with this. Let's see how it works out.
This commit is contained in:
cpfeiffer 2015-11-03 20:23:48 +01:00
parent d8960c4e16
commit 58cfd0fef9

View File

@ -158,7 +158,7 @@ public final class BtLEQueue {
BluetoothDevice remoteDevice = mBluetoothAdapter.getRemoteDevice(mGbDevice.getAddress());
boolean result;
synchronized (mGattMonitor) {
mBluetoothGatt = remoteDevice.connectGatt(mContext, true, internalGattCallback);
mBluetoothGatt = remoteDevice.connectGatt(mContext, false, internalGattCallback);
result = mBluetoothGatt.connect();
}
if (result) {