From 637a7d5d0739b3c67fb2ee36d18c4275e81a07ad Mon Sep 17 00:00:00 2001 From: Cristian Alfano Date: Sat, 1 Aug 2020 23:03:21 +0200 Subject: [PATCH] Adding support for Mi Band 5's new FW and res versions and new languages supported: italian, french and german. --- .../devices/huami/miband5/MiBand5FirmwareInfo.java | 2 ++ app/src/main/res/values/arrays.xml | 10 ++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/miband5/MiBand5FirmwareInfo.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/miband5/MiBand5FirmwareInfo.java index 1a8442098..801a5b49c 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/miband5/MiBand5FirmwareInfo.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/miband5/MiBand5FirmwareInfo.java @@ -39,10 +39,12 @@ public class MiBand5FirmwareInfo extends HuamiFirmwareInfo { // firmware crcToVersion.put(29062, "1.0.0.76"); crcToVersion.put(26302, "1.0.1.16"); + crcToVersion.put(26666, "1.0.1.32"); // resources crcToVersion.put(8009, "1.0.0.76"); crcToVersion.put(47040, "1.0.1.16"); + crcToVersion.put(49094, "1.0.1.32"); // font crcToVersion.put(31978, "1"); diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index 1ecaa6052..7b352cad4 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -681,6 +681,9 @@ @string/english @string/russian @string/spanish + @string/italian + @string/french + @string/german @@ -690,6 +693,9 @@ en_US ru_RU es_ES + it_IT + fr_FR + de_DE @@ -872,7 +878,7 @@ @string/pref_media_forward @string/pref_media_rewind - + Disabled Media Play Media Pause @@ -931,4 +937,4 @@ workoutApp - + \ No newline at end of file