mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-25 01:55:50 +01:00
Garmin: fix spurious protobuf messages
This commit is contained in:
parent
2a9a01e40b
commit
709afc5df7
@ -138,6 +138,7 @@ public class ProtocolBufferHandler implements MessageHandler {
|
||||
|
||||
if (protobufFragment.totalLength <= (statusMessage.getDataOffset() + maxChunkSize)) {
|
||||
chunkedFragmentsMap.remove(protobufFragment);
|
||||
return null;
|
||||
}
|
||||
|
||||
return protobufFragment.getNextChunk(statusMessage);
|
||||
|
Loading…
Reference in New Issue
Block a user