1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-07 14:11:36 +02:00
Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service
José Rebelo 58d4ebf509 Huami: Refactor activity data fetching
Activity data fetching on Huami devices was filled with duplicated code,
and the handleActivityFetchFinish was called from multiple places where
it did not make sense. This made us signal to the band that activity
fetch was finished when it sometimes was not, causing some race
condititions that would make activity fetch fail or get stuck.

This refactor defines a clear "processBufferedData" that is called
upstream, signaling to the fetch operation that we have received all
data and the buffer can be processed. All handling of metadata and ack
messages is also delegated to the upstream class.
2024-02-25 13:10:25 +00:00
..
btbr BtBRQueue: use Handler(Thread) for sending messages and connecting socket 2024-01-17 20:16:38 +00:00
btclassic Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
btle Revert "Device connection: added basic code for scan-reconnect" 2024-02-12 23:30:32 +01:00
devices Huami: Refactor activity data fetching 2024-02-25 13:10:25 +00:00
receivers Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
serial Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
AbstractDeviceSupport.java Revert "Device connection: added basic code for scan-reconnect" 2024-02-12 23:30:32 +01:00
DeviceCommunicationService.java TimeChangeReceiver: Ensure the alarm is set 2024-02-18 19:12:30 +00:00
DeviceSupport.java Revert "Device connection: added basic code for scan-reconnect" 2024-02-12 23:30:32 +01:00
DeviceSupportFactory.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
NotificationCollectorMonitorService.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
ServiceDeviceSupport.java Revert "Device connection: added basic code for scan-reconnect" 2024-02-12 23:30:32 +01:00