From f6a7435b7e34f55667c64b5c185e21af7dc94587 Mon Sep 17 00:00:00 2001 From: Daniel Dakhno Date: Fri, 30 Oct 2020 04:19:07 +0100 Subject: [PATCH] Fossil Hybrid: temporarely keep activity file after sync --- .../qhybrid/adapter/fossil_hr/FossilHRWatchAdapter.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/qhybrid/adapter/fossil_hr/FossilHRWatchAdapter.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/qhybrid/adapter/fossil_hr/FossilHRWatchAdapter.java index 700bf096f..01ed0f6b9 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/qhybrid/adapter/fossil_hr/FossilHRWatchAdapter.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/qhybrid/adapter/fossil_hr/FossilHRWatchAdapter.java @@ -686,7 +686,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); @@ -947,7 +947,7 @@ public class FossilHRWatchAdapter extends FossilWatchAdapter { @Override public void onTestNewFunction() { - queueWrite(new ButtonConfigurationPutRequest( + /*queueWrite(new ButtonConfigurationPutRequest( new String[]{"test"}, new ButtonConfiguration[]{ new ButtonConfiguration( @@ -955,7 +955,7 @@ public class FossilHRWatchAdapter extends FossilWatchAdapter { ) }, this - )); + ));*/ /*queueWrite(new FileLookupAndGetRequest(FileHandle.APP_CODE, this) { @Override public void handleFileData(byte[] fileData) {