mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-24 08:37:32 +01:00
Bangle.js:actTrk:unsuccessful try at fetch timeout
This commit is contained in:
parent
49c4f34f42
commit
4f04b61dbd
@ -57,6 +57,17 @@ public class BangleJSActivityTrack extends BangleJSDeviceSupport {
|
||||
GB.toast(context.getString(R.string.activity_detail_end_label) + " : " + context.getString(R.string.busy_task_fetch_sports_details), Toast.LENGTH_SHORT, GB.INFO);
|
||||
}
|
||||
|
||||
TimerTask timeoutTask = new TimerTask() {
|
||||
@Override
|
||||
public void run() {
|
||||
signalFetchingEnded(getDevice(), getContext());
|
||||
LOG.warn("Activity Track fetching timed out.");
|
||||
}
|
||||
};
|
||||
|
||||
private Timer timer = new Timer("Activity Fetching Timeout");
|
||||
timer. // FIXME: I don't get any hints for timer here, so I must be doing something wrong.
|
||||
|
||||
public static JSONObject compileTracksListRequest(GBDevice device, Context context) {
|
||||
signalFetchingStarted(device, context);
|
||||
//GB.toast("TYPE_GPS_TRACKS says hi!", Toast.LENGTH_LONG, GB.INFO);
|
||||
|
Loading…
x
Reference in New Issue
Block a user