mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-03 00:43:02 +01:00
Zepp OS: Attempt to fix repeating fetch operation getting stuck
This commit is contained in:
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());
|
LOG.info("{} has finished round {}: {}, got {} bytes in buffer", getName(), fetchCount, success, byteStreamBuffer.size());
|
||||||
|
|
||||||
if (!success) {
|
if (!success) {
|
||||||
|
// We need to explicitly ack this, or the next operation will fail fetch will become stuck
|
||||||
|
sendAck2021(true);
|
||||||
super.handleActivityFetchFinish(false);
|
super.handleActivityFetchFinish(false);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user