From 33b2d43991194d1589074c2821e1af14fc43898e Mon Sep 17 00:00:00 2001 From: xoahmer Date: Tue, 1 Oct 2024 22:36:35 +0200 Subject: [PATCH] [xoahmer] adding pai feature to amazfit gtr2 device. issue #4152 --- .../devices/huami/amazfitgtr2/AmazfitGTR2Coordinator.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/huami/amazfitgtr2/AmazfitGTR2Coordinator.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/huami/amazfitgtr2/AmazfitGTR2Coordinator.java index c79693e2a..00c1399af 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/huami/amazfitgtr2/AmazfitGTR2Coordinator.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/huami/amazfitgtr2/AmazfitGTR2Coordinator.java @@ -82,6 +82,11 @@ public class AmazfitGTR2Coordinator extends HuamiCoordinator { return true; } + @Override + public boolean supportsPai() { + return true; + } + @Override public DeviceSpecificSettings getDeviceSpecificSettings(final GBDevice device) { final DeviceSpecificSettings deviceSpecificSettings = new DeviceSpecificSettings();