1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-17 10:54:03 +02:00

Only call super.onCharacteristicChanged() when not handling it here

This commit is contained in:
cpfeiffer 2015-08-29 20:48:33 +02:00
parent 184f81fc7a
commit 530116976c

View File

@ -53,8 +53,6 @@ public class UpdateFirmwareOperation extends AbstractBTLEOperation<MiBandSupport
@Override
public void onCharacteristicChanged(BluetoothGatt gatt,
BluetoothGattCharacteristic characteristic) {
super.onCharacteristicChanged(gatt, characteristic);
UUID characteristicUUID = characteristic.getUuid();
if (MiBandService.UUID_CHARACTERISTIC_NOTIFICATION.equals(characteristicUUID)) {
handleNotificationNotif(characteristic.getValue());