mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-25 18:15:49 +01:00
Widget: also try to signal sleep/steps updates for pebble
This commit is contained in:
parent
fcc9ad8f95
commit
8374a2b8f8
@ -65,6 +65,7 @@ import nodomain.freeyourgadget.gadgetbridge.model.NotificationType;
|
||||
import nodomain.freeyourgadget.gadgetbridge.model.Weather;
|
||||
import nodomain.freeyourgadget.gadgetbridge.model.WeatherSpec;
|
||||
import nodomain.freeyourgadget.gadgetbridge.service.serial.GBDeviceProtocol;
|
||||
import nodomain.freeyourgadget.gadgetbridge.util.GB;
|
||||
|
||||
public class PebbleProtocol extends GBDeviceProtocol {
|
||||
|
||||
@ -2269,6 +2270,9 @@ public class PebbleProtocol extends GBDeviceProtocol {
|
||||
dataLogging.tag = datalogSession.tag;
|
||||
devEvtsDataLogging = new GBDeviceEvent[]{dataLogging, null};
|
||||
}
|
||||
if (datalogSession.uuid.equals(UUID_ZERO) && (datalogSession.tag == 81 || datalogSession.tag == 83 || datalogSession.tag == 84)) {
|
||||
GB.signalActivityDataFinish();
|
||||
}
|
||||
mDatalogSessions.remove(id);
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user