UI: only update once every second.
Accidentally introduced in
@@ -46,7 +46,7 @@ public class TrackRecordingService extends Service implements TrackPointCreator.
private static final String TAG = TrackRecordingService.class.getSimpleName();
- private static final Duration RECORDING_DATA_UPDATE_INTERVAL = Duration.ofMillis(100);
+ private static final Duration RECORDING_DATA_UPDATE_INTERVAL = Duration.ofSeconds(1);
public static final RecordingStatus STATUS_DEFAULT = RecordingStatus.notRecording();
public static final RecordingData NOT_RECORDING = new RecordingData(null, null, null);
