From 01a552e0f7a2c6da6665453fb7167bea8277edea Mon Sep 17 00:00:00 2001 From: Andreas Shimokawa Date: Tue, 17 Oct 2023 22:25:31 +0200 Subject: [PATCH] Mi Watch Lite: Do not set firmware version to ... during connect --- .../service/devices/xiaomi/XiaomiPlaintextSupport.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/xiaomi/XiaomiPlaintextSupport.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/xiaomi/XiaomiPlaintextSupport.java index 9f20a8180..8b5ff3788 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/xiaomi/XiaomiPlaintextSupport.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/xiaomi/XiaomiPlaintextSupport.java @@ -74,10 +74,6 @@ public class XiaomiPlaintextSupport extends XiaomiSupport { this.characteristicDataUpload = new XiaomiCharacteristic(this, btCharacteristicDataUpload, authService); this.characteristicDataUpload.setEncrypted(false); - // FIXME why is this needed? - getDevice().setFirmwareVersion("..."); - //getDevice().setFirmwareVersion2("..."); - builder.add(new SetDeviceStateAction(getDevice(), GBDevice.State.INITIALIZING, getContext())); enableNotifications(builder, true); builder.requestMtu(247);