1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-29 03:55:49 +01:00

Fossil Hybrid HR: delete activity data after syncing

This partially reverts f6a7435b7e
This commit is contained in:
Andreas Shimokawa 2020-11-14 22:17:24 +01:00
parent 435808467b
commit cc7a7b7caf

View File

@ -738,7 +738,7 @@ public class FossilHRWatchAdapter extends FossilWatchAdapter {
if (saveRawActivityFiles) {
writeFile(String.valueOf(System.currentTimeMillis()), fileData);
}
// queueWrite(new FileDeleteRequest(fileHandle));
queueWrite(new FileDeleteRequest(fileHandle));
GB.toast("synced activity data", Toast.LENGTH_SHORT, GB.INFO);
} catch (Exception ex) {
GB.toast(getContext(), "Error saving steps data: " + ex.getLocalizedMessage(), Toast.LENGTH_LONG, GB.ERROR);