1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-24 05:50:47 +02:00

Zepp OS: Improve activity fetch logging

This commit is contained in:
José Rebelo 2023-11-26 21:14:46 +00:00
parent c5757ea478
commit ae75f82a63

View File

@ -153,6 +153,8 @@ public abstract class AbstractFetchOperation extends AbstractHuamiOperation {
} }
} }
LOG.debug("All operations finished");
GB.updateTransferNotification(null, "", false, 100, getContext()); GB.updateTransferNotification(null, "", false, 100, getContext());
operationFinished(); operationFinished();
unsetBusy(); unsetBusy();
@ -325,6 +327,8 @@ public abstract class AbstractFetchOperation extends AbstractHuamiOperation {
return; return;
} }
LOG.debug("Sending ack 2021, keepDataOnDevice = {}", keepDataOnDevice);
// 0x01 to ACK, mark as saved on phone (drop from band) // 0x01 to ACK, mark as saved on phone (drop from band)
// 0x09 to ACK, but keep it marked as not saved // 0x09 to ACK, but keep it marked as not saved
// If 0x01 is sent, detailed information seems to be discarded, and is not sent again anymore // If 0x01 is sent, detailed information seems to be discarded, and is not sent again anymore