mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-25 18:15: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":
|
case "act":
|
||||||
handleActivity(json);
|
handleActivity(json);
|
||||||
break;
|
break;
|
||||||
case "actTrksList":
|
case "actTrksList": {
|
||||||
JSONObject requestTrackObj = BangleJSActivityTrack.handleActTrksList(json, getDevice(), getContext());
|
JSONObject requestTrackObj = BangleJSActivityTrack.handleActTrksList(json, getDevice(), getContext());
|
||||||
uartTxJSON("requestActivityTrackLog", requestTrackObj);
|
uartTxJSON("requestActivityTrackLog", requestTrackObj);
|
||||||
break;
|
} break;
|
||||||
case "actTrk":
|
case "actTrk": {
|
||||||
requestTrackObj = BangleJSActivityTrack.handleActTrk(json, getDevice(), getContext());
|
JSONObject requestTrackObj = BangleJSActivityTrack.handleActTrk(json, getDevice(), getContext());
|
||||||
if (requestTrackObj!=null) uartTxJSON("requestActivityTrackLog", requestTrackObj);
|
if (requestTrackObj!=null) uartTxJSON("requestActivityTrackLog", requestTrackObj);
|
||||||
break;
|
} break;
|
||||||
case "http":
|
case "http":
|
||||||
handleHttp(json);
|
handleHttp(json);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user