forked from upstream-mirrors/OpenTracks
Cleanup.
This commit is contained in:
+1
-1
@@ -96,7 +96,7 @@ public class TrackRecordingServiceTestLocation {
|
||||
|
||||
service = ((TrackRecordingService.Binder) mServiceRule.bindService(TrackRecordingServiceTest.createStartIntent(context)))
|
||||
.getService();
|
||||
service.stopProcessingGPS();
|
||||
service.getHandlerServer().stopGPS();
|
||||
}
|
||||
|
||||
@After
|
||||
|
||||
@@ -654,15 +654,6 @@ public class TrackRecordingService extends Service implements HandlerServer.Hand
|
||||
return handlerServer;
|
||||
}
|
||||
|
||||
/**
|
||||
* To mock locations (to not get it from GPS).
|
||||
*/
|
||||
@Deprecated
|
||||
@VisibleForTesting
|
||||
public void stopProcessingGPS() {
|
||||
handlerServer.stopGPS();
|
||||
}
|
||||
|
||||
public LiveData<GpsStatusValue> getGpsStatusObservable() {
|
||||
return gpsStatusObservable;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user