1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-03 17:02:13 +01:00

Bangle.js:actTrk: cmt re send "stop" on interrupt

This commit is contained in:
Ganblejs 2024-03-06 22:38:49 +01:00 committed by José Rebelo
parent 21882042c4
commit cd9fdca397

View File

@ -674,6 +674,11 @@ class BangleJSActivityTrack extends BangleJSDeviceSupport {
signalFetchingEnded(device, context);
LOG.warn(context.getString(R.string.busy_task_fetch_sports_details_interrupted));
GB.toast(context.getString(R.string.busy_task_fetch_sports_details_interrupted), Toast.LENGTH_LONG, GB.INFO);
// TODO: We could send a stop message back to Bangle.js here if we want to hinder
// the potential event it would start sending lines again after Gadgetbridge
// determined the fetch had been interrupted. On the other hand I think if we
// started receiving lines again, they would only be appended to the file in
// storage and the fetch would continue as if nothing happend.
}
};
}