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

Bangle.js:actTrk: add private modifier

This commit is contained in:
Ganblejs 2024-03-05 20:58:51 +01:00 committed by José Rebelo
parent f97dda37c7
commit f1053c5b80

View File

@ -58,8 +58,8 @@ 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); GB.toast(context.getString(R.string.activity_detail_end_label) + " : " + context.getString(R.string.busy_task_fetch_sports_details), Toast.LENGTH_SHORT, GB.INFO);
} }
static Timer timeout; private static Timer timeout;
static TimerTask timeoutTask; private static TimerTask timeoutTask;
//we are going to use a handler to be able //we are going to use a handler to be able
@ -727,7 +727,7 @@ class BangleJSActivityTrack extends BangleJSDeviceSupport {
return exporter; return exporter;
} }
protected static JSONObject addSummaryData(JSONObject summaryData, String key, float value, String unit) { private static JSONObject addSummaryData(JSONObject summaryData, String key, float value, String unit) {
if (value > 0) { if (value > 0) {
try { try {
JSONObject innerData = new JSONObject(); JSONObject innerData = new JSONObject();