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

live-activity-data
cpfeiffer 2015-08-29 20:48:33 +02:00
parent 184f81fc7a
commit 530116976c
1 changed files with 0 additions and 2 deletions

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());