mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-20 04:35:32 +00:00
change method visibility (public -> private)
This commit is contained in:
+2
-2
@@ -153,7 +153,7 @@ public class TrackingService extends Service implements GoogleApiClient.Connecti
|
||||
return Service.START_STICKY;
|
||||
}
|
||||
|
||||
public void startTracking() {
|
||||
private void startTracking() {
|
||||
googleApiClient.connect();
|
||||
locationUpdateRequested = true;
|
||||
|
||||
@@ -164,7 +164,7 @@ public class TrackingService extends Service implements GoogleApiClient.Connecti
|
||||
prefs.setTrackerIsTrackingCheckinDigest(checkinDigest);
|
||||
}
|
||||
|
||||
public void stopTracking() {
|
||||
private void stopTracking() {
|
||||
if (googleApiClient.isConnected()) {
|
||||
LocationServices.FusedLocationApi.removeLocationUpdates(googleApiClient, this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user