mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-12 18:57:36 +01:00
Bangle.js:ActTrk: fix requestTrackObj can be null
This commit is contained in:
parent
9309ac8d38
commit
0ac6da3903
@ -564,7 +564,7 @@ public class BangleJSDeviceSupport extends AbstractBTLEDeviceSupport {
|
||||
break;
|
||||
case "actTrksList": {
|
||||
JSONObject requestTrackObj = BangleJSActivityTrack.handleActTrksList(json, getDevice(), getContext());
|
||||
uartTxJSON("requestActivityTrackLog", requestTrackObj);
|
||||
if (requestTrackObj!=null) uartTxJSON("requestActivityTrackLog", requestTrackObj);
|
||||
} break;
|
||||
case "actTrk": {
|
||||
JSONObject requestTrackObj = BangleJSActivityTrack.handleActTrk(json, getDevice(), getContext());
|
||||
|
Loading…
x
Reference in New Issue
Block a user