From 50ce99b8383f56f34a86b7e4aec0c1a82abb1d86 Mon Sep 17 00:00:00 2001 From: Andreas Shimokawa Date: Wed, 6 Jan 2021 22:15:22 +0100 Subject: [PATCH] Amazfit GTS2: Also use new protocol for calls like GTR2 This is an assumption --- CHANGELOG.md | 1 + .../devices/huami/amazfitgts2/AmazfitGTS2Support.java | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4831873c9..229c5d44a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ #### NEXT * Amazfit Bip U Pro: Initial support * Amazfit GTS2: fix pairing +* Amazfit GTS/GTR2: Fix incoming call display * Fossil Hybrid HR: avoid unnessecary widget rendering * A lot of Data(base) Management screen clarifications and improvemets * Fix a crash when when forecastConditionType length is 0 in weather notification data diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/amazfitgts2/AmazfitGTS2Support.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/amazfitgts2/AmazfitGTS2Support.java index 534982030..1bdce416f 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/amazfitgts2/AmazfitGTS2Support.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/amazfitgts2/AmazfitGTS2Support.java @@ -34,6 +34,11 @@ public class AmazfitGTS2Support extends AmazfitGTSSupport { return new AmazfitGTS2FWHelper(uri, context); } + @Override + public void onSetCallState(CallSpec callSpec) { + onSetCallStateNew(callSpec); + } + @Override public UpdateFirmwareOperation createUpdateFirmwareOperation(Uri uri) { return new UpdateFirmwareOperation2020(uri, this);