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