1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-27 20:36:51 +01:00

Fossil Hybrid: temporarely keep activity file after sync

This commit is contained in:
Daniel Dakhno 2020-10-30 04:19:07 +01:00
parent 6b1d2cab50
commit f6a7435b7e

View File

@ -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) {