mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-25 18:15:49 +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)) {
|
if (protobufFragment.totalLength <= (statusMessage.getDataOffset() + maxChunkSize)) {
|
||||||
chunkedFragmentsMap.remove(protobufFragment);
|
chunkedFragmentsMap.remove(protobufFragment);
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
return protobufFragment.getNextChunk(statusMessage);
|
return protobufFragment.getNextChunk(statusMessage);
|
||||||
|
Loading…
Reference in New Issue
Block a user