mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 12:56:49 +01:00
Bangle.js:actTrk: cmt re send "stop" on interrupt
This commit is contained in:
parent
21882042c4
commit
cd9fdca397
@ -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.
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user