mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-25 10:05:49 +01:00
Bangle.js:actTrk: curly brace to scope cases
This commit is contained in:
parent
571410ff4b
commit
1e2ea97391
@ -562,14 +562,14 @@ public class BangleJSDeviceSupport extends AbstractBTLEDeviceSupport {
|
||||
case "act":
|
||||
handleActivity(json);
|
||||
break;
|
||||
case "actTrksList":
|
||||
case "actTrksList": {
|
||||
JSONObject requestTrackObj = BangleJSActivityTrack.handleActTrksList(json, getDevice(), getContext());
|
||||
uartTxJSON("requestActivityTrackLog", requestTrackObj);
|
||||
break;
|
||||
case "actTrk":
|
||||
requestTrackObj = BangleJSActivityTrack.handleActTrk(json, getDevice(), getContext());
|
||||
} break;
|
||||
case "actTrk": {
|
||||
JSONObject requestTrackObj = BangleJSActivityTrack.handleActTrk(json, getDevice(), getContext());
|
||||
if (requestTrackObj!=null) uartTxJSON("requestActivityTrackLog", requestTrackObj);
|
||||
break;
|
||||
} break;
|
||||
case "http":
|
||||
handleHttp(json);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user