TrackRecordingServices: managers register for sharedPreference changes.

This commit is contained in:
Dennis Guse
2022-01-22 19:21:16 +01:00
parent f4c07463b3
commit 708245bd50
7 changed files with 58 additions and 45 deletions
@@ -30,7 +30,6 @@ public class TrackRecordingServiceTestUtils {
service.getTrackPointCreator().setRemoteSensorManager(new BluetoothRemoteSensorManager(context, service.getTrackPointCreator()));
service.getTrackPointCreator().setClock(Clock.systemUTC());
service.endCurrentTrack();
service.sharedPreferenceChangeListener.onSharedPreferenceChanged(null, null);
}
static void sendGPSLocation(TrackPointCreator trackPointCreator, String time, double latitude, double longitude, float accuracy, long speed) {