mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-27 09:01:38 +01:00
Fossil Hybrid: temporarely keep activity file after sync
This commit is contained in:
parent
6b1d2cab50
commit
f6a7435b7e
@ -686,7 +686,7 @@ public class FossilHRWatchAdapter extends FossilWatchAdapter {
|
|||||||
if (saveRawActivityFiles) {
|
if (saveRawActivityFiles) {
|
||||||
writeFile(String.valueOf(System.currentTimeMillis()), fileData);
|
writeFile(String.valueOf(System.currentTimeMillis()), fileData);
|
||||||
}
|
}
|
||||||
queueWrite(new FileDeleteRequest(fileHandle));
|
// queueWrite(new FileDeleteRequest(fileHandle));
|
||||||
GB.toast("synced activity data", Toast.LENGTH_SHORT, GB.INFO);
|
GB.toast("synced activity data", Toast.LENGTH_SHORT, GB.INFO);
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
GB.toast(getContext(), "Error saving steps data: " + ex.getLocalizedMessage(), Toast.LENGTH_LONG, GB.ERROR);
|
GB.toast(getContext(), "Error saving steps data: " + ex.getLocalizedMessage(), Toast.LENGTH_LONG, GB.ERROR);
|
||||||
@ -947,7 +947,7 @@ public class FossilHRWatchAdapter extends FossilWatchAdapter {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onTestNewFunction() {
|
public void onTestNewFunction() {
|
||||||
queueWrite(new ButtonConfigurationPutRequest(
|
/*queueWrite(new ButtonConfigurationPutRequest(
|
||||||
new String[]{"test"},
|
new String[]{"test"},
|
||||||
new ButtonConfiguration[]{
|
new ButtonConfiguration[]{
|
||||||
new ButtonConfiguration(
|
new ButtonConfiguration(
|
||||||
@ -955,7 +955,7 @@ public class FossilHRWatchAdapter extends FossilWatchAdapter {
|
|||||||
)
|
)
|
||||||
},
|
},
|
||||||
this
|
this
|
||||||
));
|
));*/
|
||||||
/*queueWrite(new FileLookupAndGetRequest(FileHandle.APP_CODE, this) {
|
/*queueWrite(new FileLookupAndGetRequest(FileHandle.APP_CODE, this) {
|
||||||
@Override
|
@Override
|
||||||
public void handleFileData(byte[] fileData) {
|
public void handleFileData(byte[] fileData) {
|
||||||
|
Loading…
Reference in New Issue
Block a user