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 9a6659e15..65632d9c9 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 @@ -401,10 +401,6 @@ public final class BtLEQueue { if (!checkCorrectGattInstance(gatt, "characteristic changed")) { return; } - if (gatt != mBluetoothGatt) { - LOG.info("Ignoring characteristic change event from wrong BluetoothGatt instance"); - return; - } if (getCallbackToUse() != null) { getCallbackToUse().onCharacteristicChanged(gatt, characteristic); } else { @@ -418,10 +414,6 @@ public final class BtLEQueue { if (!checkCorrectGattInstance(gatt, "remote rssi")) { return; } - if (gatt != mBluetoothGatt) { - LOG.info("Ignoring remote rssi event from wrong BluetoothGatt instance"); - return; - } if (getCallbackToUse() != null) { getCallbackToUse().onReadRemoteRssi(gatt, rssi, status); }