From 8030efe0196a273d2c97da0ce1d6b20605219ad7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Rebelo?= Date: Wed, 15 Jun 2022 18:56:37 +0100 Subject: [PATCH] Huami: Fix track name being replaced by album --- .../gadgetbridge/service/devices/huami/HuamiSupport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/HuamiSupport.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/HuamiSupport.java index debbf75c0..397f99453 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/HuamiSupport.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/HuamiSupport.java @@ -1352,7 +1352,7 @@ public class HuamiSupport extends AbstractBTLEDeviceSupport { if (musicSpec != null) { artist = StringUtils.truncate(musicSpec.artist, 80); album = StringUtils.truncate(musicSpec.album, 80); - track = StringUtils.truncate(musicSpec.album, 80); + track = StringUtils.truncate(musicSpec.track, 80); if (artist.getBytes().length > 0) { length += artist.getBytes().length + 1;