1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2025-01-13 03:07:32 +01: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 @Override
public void onCharacteristicChanged(BluetoothGatt gatt, public void onCharacteristicChanged(BluetoothGatt gatt,
BluetoothGattCharacteristic characteristic) { BluetoothGattCharacteristic characteristic) {
super.onCharacteristicChanged(gatt, characteristic);
UUID characteristicUUID = characteristic.getUuid(); UUID characteristicUUID = characteristic.getUuid();
if (MiBandService.UUID_CHARACTERISTIC_NOTIFICATION.equals(characteristicUUID)) { if (MiBandService.UUID_CHARACTERISTIC_NOTIFICATION.equals(characteristicUUID)) {
handleNotificationNotif(characteristic.getValue()); handleNotificationNotif(characteristic.getValue());