1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-03 02:06:21 +02:00

Bangle.js:actTrk: note on postponing parsing

This commit is contained in:
Ganblejs 2024-03-06 01:00:42 +01:00 committed by José Rebelo
parent ddca4ad90d
commit d8172295cb

View File

@ -221,7 +221,7 @@ class BangleJSActivityTrack extends BangleJSDeviceSupport {
if (!json.has("lines")) { // if no lines were sent with this json object, it signifies that the whole recorder log has been transmitted.
setLatestFetchedRecorderLog(dir, log);
parseFetchedRecorderCSV(dir, filename, log, device, context);
parseFetchedRecorderCSV(dir, filename, log, device, context); // TODO: Parsing could be done after we fetched all recorder logs instead, making the fetching quicker and maybe less prone to user errors.
if (tracksList.length()==0) {
signalFetchingEnded(device, context);
int resetPacketCount = -1;