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:
parent
184f81fc7a
commit
530116976c
@ -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());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user