From c56b655b48acace853dec38812d8b6f027d9fd15 Mon Sep 17 00:00:00 2001 From: cpfeiffer Date: Sun, 5 Mar 2017 10:41:57 +0100 Subject: [PATCH] Mi2: send text notification for mi2 only, not mi1a --- .../service/devices/miband/V2NotificationStrategy.java | 2 +- .../service/devices/miband2/Mi2NotificationStrategy.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/miband/V2NotificationStrategy.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/miband/V2NotificationStrategy.java index 65957f09d..d8ec7651f 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/miband/V2NotificationStrategy.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/miband/V2NotificationStrategy.java @@ -53,7 +53,7 @@ public class V2NotificationStrategy implements NotificationStrategy { } } } - sendAlert(simpleNotification, builder); +// sendAlert(simpleNotification, builder); } protected void sendAlert(SimpleNotification simpleNotification, TransactionBuilder builder) { diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/miband2/Mi2NotificationStrategy.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/miband2/Mi2NotificationStrategy.java index d5a483309..83fab2d08 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/miband2/Mi2NotificationStrategy.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/miband2/Mi2NotificationStrategy.java @@ -41,7 +41,7 @@ public class Mi2NotificationStrategy extends V2NotificationStrategy { } } - + sendAlert(simpleNotification, builder); } @Override