From 9051e10aadc7ee9b2e2368d371e48cb8bf568d4c Mon Sep 17 00:00:00 2001 From: Andreas Shimokawa Date: Thu, 11 Jun 2015 23:00:59 +0200 Subject: [PATCH] switch constants for deep sleep and light sleep to match native miband data --- .../freeyourgadget/gadgetbridge/GBActivitySample.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/GBActivitySample.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/GBActivitySample.java index 12160afe..d97f3849 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/GBActivitySample.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/GBActivitySample.java @@ -4,8 +4,8 @@ public class GBActivitySample { public static final byte PROVIDER_MIBAND = 0; public static final byte PROVIDER_PEBBLE_MORPHEUZ = 1; - public static final byte TYPE_DEEP_SLEEP = 5; - public static final byte TYPE_LIGHT_SLEEP = 4; + public static final byte TYPE_DEEP_SLEEP = 4; + public static final byte TYPE_LIGHT_SLEEP = 5; public static final byte TYPE_UNKNOWN = -1; // add more here