From 6e33c7364a41de480727b2421756f91faa174b09 Mon Sep 17 00:00:00 2001 From: cpfeiffer Date: Thu, 26 May 2016 22:21:58 +0200 Subject: [PATCH] Remove some commented code --- .../freeyourgadget/gadgetbridge/service/btle/BtLEQueue.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/btle/BtLEQueue.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/btle/BtLEQueue.java index 4a432d0b..78280d09 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/btle/BtLEQueue.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/btle/BtLEQueue.java @@ -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) {