Garmin: fix start time handling for stopwatch (#4507) and prepare for multi sessions in one file (#5862. #5860)

Prioritise the session specific start time over the file creation time.
This commit is contained in:
Thomas Kuehne
2026-04-10 17:33:39 +00:00
parent 7a1960a85a
commit 9edeec2a57
8 changed files with 116 additions and 40 deletions
@@ -13,7 +13,7 @@ public class FitImporterTest extends TestBase {
@Ignore("helper test for development, remove this while debugging")
public void localTest() throws Exception {
final FitImporter fitImporter = new FitImporter( null, null);
fitImporter.importFile(new File("/storage/SKIN_TEMP.fit"));
fitImporter.importFile(new File("/storage/SKIN_TEMP.fit"), false);
}
@Test
@@ -27,7 +27,7 @@ public class FitImporterTest extends TestBase {
continue;
}
final FitImporter fitImporter = new FitImporter( null, null);
fitImporter.importFile(file);
fitImporter.importFile(file, false);
}
}
}