forked from upstream-mirrors/OpenTracks
TrackRecordingService: EGM2008 computation should only be done for UI.
Reverting 16483d4261ff780f940fe4ea223957c898023e14
This commit is contained in:
@@ -33,7 +33,6 @@ public class HandlerServer {
|
||||
private Clock clock = Clock.systemUTC();
|
||||
|
||||
private final LocationHandler locationHandler;
|
||||
private final EGM2008CorrectionManager egm2008CorrectionManager = new EGM2008CorrectionManager();
|
||||
private BluetoothRemoteSensorManager remoteSensorManager;
|
||||
private AltitudeSumManager altitudeSumManager;
|
||||
|
||||
@@ -116,10 +115,8 @@ public class HandlerServer {
|
||||
// return;
|
||||
// }
|
||||
|
||||
egm2008CorrectionManager.correctAltitude(context, trackPoint);
|
||||
fillAndReset(trackPoint);
|
||||
|
||||
|
||||
// serviceExecutor.execute(() -> service.newTrackPoint(trackPoint, thresholdHorizontalAccuracy));
|
||||
service.newTrackPoint(trackPoint, thresholdHorizontalAccuracy);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user