Zepp OS: Attempt to fix repeating fetch operation getting stuck

This commit is contained in:
José Rebelo
2023-11-25 21:16:52 +00:00
parent 7124d337e1
commit 6c710d594d
@@ -81,6 +81,8 @@ public abstract class AbstractRepeatingFetchOperation extends AbstractFetchOpera
LOG.info("{} has finished round {}: {}, got {} bytes in buffer", getName(), fetchCount, success, byteStreamBuffer.size());
if (!success) {
// We need to explicitly ack this, or the next operation will fail fetch will become stuck
sendAck2021(true);
super.handleActivityFetchFinish(false);
return false;
}