1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-17 19:04:03 +02:00
Gadgetbridge/app/src/main
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
..
.settings #15 Initial support for MI Band 2015-04-19 02:37:29 +02:00
aidl/com/android/internal/telephony Support for rejecting/ending calls via Pebble buttons 2015-03-07 17:44:39 +01:00
assets Webview: Fix sending configuration from watchfaces when background message exchange is going on 2017-09-03 17:10:04 +02:00
java Back out the DST handling, since it causes problems with activity fetching 2017-11-07 21:24:48 +01:00
res Merge branch 'master' into bip-wip 2017-11-03 23:27:58 +01:00
.classpath #15 Initial support for MI Band 2015-04-19 02:37:29 +02:00
.project #15 Initial support for MI Band 2015-04-19 02:37:29 +02:00
AndroidManifest.xml WIP: Bip GPS fetching, parsing, exporting 2017-10-31 23:16:39 +01:00
lint.xml #15 Initial support for MI Band 2015-04-19 02:37:29 +02:00
project.properties #15 Initial support for MI Band 2015-04-19 02:37:29 +02:00