Attempt to re-enable automatic reconnect (autosensing) #249

(now that initializing device works again)
here
cpfeiffer 2016-04-03 23:32:15 +02:00
parent 59c3970008
commit 3e3cf462a6
1 changed files with 1 additions and 1 deletions

View File

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