1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-10-11 07:38:15 +02:00
Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service
cpfeiffer da7de378d3 Back out the DST handling, since it causes problems with activity fetching
Details: when we ask to fetch activity samples from date:time:tz+dst, the band,
under certain conditions, will send us back date:time:tz (without the dst offset)

We're fine with that, so we start fetching. When it's done, we take the last sample's
timestamp (still without dst offset), convert it to a unix timestamp, create a Calendar
using current tz and apply the unix timestamp. Then we send that timestamp again to the
band in order to fetch activity samples from then, but we again add the dst offset to the tz,
so send as date:time:tz+dst without changing the timestamp. That way, we may end up at the
timestamp we began with, fetching the same activity data again and not progressing.

We first need to thorougly understand how the devices behave, before we can reenable and fix
this.
2017-11-07 21:24:48 +01:00
..
btclassic Update license headers 2017-08-25 11:25:01 +02:00
btle Back out the DST handling, since it causes problems with activity fetching 2017-11-07 21:24:48 +01:00
devices Amazfit Bip: Fix Running/Cycling activity mapping (was swapped) 2017-11-05 00:08:39 +01:00
receivers Make sure we get a stacktrace in the log 2017-09-25 23:25:04 +02:00
serial Replace method pair() with connectFirstTime() 2017-04-12 21:35:40 +02:00
AbstractDeviceSupport.java Pebble: fix taking screenshots on Android 8.0 2017-09-03 14:12:41 +02:00
DeviceCommunicationService.java Change notification, and fix the connection logic: 2017-10-30 21:37:31 +01:00
DeviceSupport.java Replace method pair() with connectFirstTime() 2017-04-12 21:35:40 +02:00
DeviceSupportFactory.java Amazfit Cor: Untested firmware update support 2017-10-24 22:01:25 +02:00
NotificationCollectorMonitorService.java Update license headers 2017-04-26 00:14:25 +02:00
ServiceDeviceSupport.java Pebble: preparations for js appmessage ack/nack callbacks 2017-08-01 00:03:28 +02:00