From c4f12f548ce1a47e83f705879a0d16adcde2d685 Mon Sep 17 00:00:00 2001 From: Andreas Shimokawa Date: Tue, 20 Jul 2021 12:11:44 +0200 Subject: [PATCH] Fix missing breaks in switch, should fix UM25 support --- .../gadgetbridge/service/DeviceSupportFactory.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/DeviceSupportFactory.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/DeviceSupportFactory.java index 77755c9b3..567d7efdb 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/DeviceSupportFactory.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/DeviceSupportFactory.java @@ -347,8 +347,10 @@ public class DeviceSupportFactory { break; case SMAQ2OSS: deviceSupport = new ServiceDeviceSupport(new SMAQ2OSSSupport(), EnumSet.of(ServiceDeviceSupport.Flags.BUSY_CHECKING)); + break; case UM25: deviceSupport = new ServiceDeviceSupport(new UM25Support(), EnumSet.of(ServiceDeviceSupport.Flags.BUSY_CHECKING)); + break; case DOMYOS_T540: deviceSupport = new ServiceDeviceSupport(new DomyosT540Support(), EnumSet.of(ServiceDeviceSupport.Flags.THROTTLING, ServiceDeviceSupport.Flags.BUSY_CHECKING)); break;