Remove some commented code

here
cpfeiffer 2016-05-26 22:21:58 +02:00
parent c360eb3392
commit 6e33c7364a
1 changed files with 0 additions and 2 deletions

View File

@ -156,11 +156,9 @@ public final class BtLEQueue {
LOG.info("Attempting to connect to " + mGbDevice.getName());
mBluetoothAdapter.cancelDiscovery();
BluetoothDevice remoteDevice = mBluetoothAdapter.getRemoteDevice(mGbDevice.getAddress());
// boolean result;
synchronized (mGattMonitor) {
// connectGatt with true doesn't really work ;( too often connection problems
mBluetoothGatt = remoteDevice.connectGatt(mContext, false, internalGattCallback);
// result = mBluetoothGatt.connect();
}
boolean result = mBluetoothGatt != null;
if (result) {