1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2025-02-17 04:46:47 +01:00

Garmin V1: Ignore null messages

This commit is contained in:
José Rebelo 2024-09-17 21:00:07 +01:00
parent 721631d935
commit d024cd69f2

View File

@ -59,6 +59,9 @@ public class CommunicatorV1 implements ICommunicator {
@Override
public void sendMessage(final String taskName, final byte[] message) {
if (null == message)
return;
final byte[] payload = cobsCoDec.encode(message);
final TransactionBuilder builder = new TransactionBuilder(taskName);