mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-05 02:53:06 +02:00
Extract Driver for internal GPS to GpsInternal.
This commit is contained in:
@@ -579,6 +579,7 @@ public class PreferencesUtils {
|
||||
return entries;
|
||||
}
|
||||
|
||||
//TODO Rename to getGpsMinSamplingInterval
|
||||
public static Duration getMinSamplingInterval() {
|
||||
final Duration MIN_SAMPLING_INTERVAL = getMinSamplingIntervalDefault();
|
||||
return Duration.ofSeconds(getInt(R.string.min_sampling_interval_key, (int) MIN_SAMPLING_INTERVAL.getSeconds()));
|
||||
|
||||
Reference in New Issue
Block a user