From 3b94bbbc480039abd0c0ef16f46fcfeff213fea0 Mon Sep 17 00:00:00 2001 From: cpfeiffer Date: Sun, 5 Mar 2017 13:28:40 +0100 Subject: [PATCH] Mi2: text notifications: does this work for email now? --- .../service/devices/miband2/Mi2NotificationStrategy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 9a47f857f..06277520c 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 @@ -45,7 +45,7 @@ public class Mi2NotificationStrategy extends V2NotificationStrategy { // } BluetoothGattCharacteristic config = getSupport().getCharacteristic(MiBand2Service.UUID_CHARACTERISTIC_3_CONFIGURATION); - builder.write(config, new byte[] {MiBand2Service.ENDPOINT_DISPLAY, 0x10, 0x00, 0x01, 0x01}); + builder.write(config, new byte[] {MiBand2Service.ENDPOINT_DISPLAY, 0x10, 0x01, 0x01, 0x01}); builder.wait(500); // end for testing