diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/amazfitbips/AmazfitBipSSupport.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/amazfitbips/AmazfitBipSSupport.java index 8ab29f3f1..a824e5a26 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/amazfitbips/AmazfitBipSSupport.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/amazfitbips/AmazfitBipSSupport.java @@ -41,6 +41,7 @@ import nodomain.freeyourgadget.gadgetbridge.model.MusicStateSpec; import nodomain.freeyourgadget.gadgetbridge.model.NotificationSpec; import nodomain.freeyourgadget.gadgetbridge.service.btle.TransactionBuilder; import nodomain.freeyourgadget.gadgetbridge.service.devices.huami.amazfitbip.AmazfitBipSupport; +import nodomain.freeyourgadget.gadgetbridge.service.devices.huami.operations.UpdateFirmwareOperationNew; import nodomain.freeyourgadget.gadgetbridge.util.NotificationUtils; public class AmazfitBipSSupport extends AmazfitBipSupport { @@ -95,6 +96,11 @@ public class AmazfitBipSSupport extends AmazfitBipSupport { return new AmazfitBipSFWHelper(uri, context); } + @Override + public UpdateFirmwareOperationNew createUpdateFirmwareOperation(Uri uri) { + return new UpdateFirmwareOperationNew(uri, this); + } + @Override protected AmazfitBipSSupport setDisplayItems(TransactionBuilder builder) { if (gbDevice.getFirmwareVersion() == null) {