forked from upstream-mirrors/OpenTracks
Settings: remove all defaults from code.
This commit is contained in:
@@ -68,7 +68,7 @@ public class ChartFragment extends Fragment implements TrackDataListener {
|
||||
|
||||
private boolean metricUnits = true;
|
||||
private boolean reportSpeed = true;
|
||||
private int recordingDistanceInterval = PreferencesUtils.RECORDING_DISTANCE_INTERVAL_DEFAULT;
|
||||
private int recordingDistanceInterval;
|
||||
|
||||
// Modes of operation
|
||||
private boolean chartByDistance = true;
|
||||
@@ -99,6 +99,8 @@ public class ChartFragment extends Fragment implements TrackDataListener {
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
recordingDistanceInterval = PreferencesUtils.getRecordingDistanceIntervalDefault(getContext());
|
||||
|
||||
/*
|
||||
* Create a chartView here to store data thus won't need to reload all the data on every onStart or onResume.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user