mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
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:
+2
-2
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user