From 9aed3a6b25915ef717bcb1630d043a4ead3b7790 Mon Sep 17 00:00:00 2001 From: Andreas Shimokawa Date: Sat, 3 Apr 2021 18:59:07 +0200 Subject: [PATCH] Relax check for UIHH header, there seem to be some with 0x02 at position 4, dont know if this is a version or whatever --- .../gadgetbridge/service/devices/huami/HuamiFirmwareInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/HuamiFirmwareInfo.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/HuamiFirmwareInfo.java index ab79db2f2..a887f887f 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/HuamiFirmwareInfo.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/HuamiFirmwareInfo.java @@ -41,7 +41,7 @@ public abstract class HuamiFirmwareInfo { }; public static final byte[] WATCHFACE_HEADER_UIHH = new byte[]{ - 'U', 'I', 'H', 'H', 0x01 + 'U', 'I', 'H', 'H' }; protected static final byte[] FT_HEADER = new byte[]{ // HMZK font file (*.ft, *.ft.xx)