Colota - Android GPS Location tracker
Strip coordinates from debug logs to protect user privacy when sending logs
Max Dietrich560e45797778
diff --git a/apps/mobile/android/app/src/main/java/com/colota/service/LocationForegroundService.kt b/apps/mobile/android/app/src/main/java/com/colota/service/LocationForegroundService.ktindex aaf23a92..fbc82b45 100644--- a/apps/mobile/android/app/src/main/java/com/colota/service/LocationForegroundService.kt+++ b/apps/mobile/android/app/src/main/java/com/colota/service/LocationForegroundService.kt@@ -474,7 +474,7 @@ class LocationForegroundService : Service() {}}- AppLogger.d(TAG, "Location received: ${String.format(Locale.US, "%.5f, %.5f", location.latitude, location.longitude)} acc=${location.accuracy}m provider=${location.provider}")+ AppLogger.d(TAG, "Location received: acc=${location.accuracy}m provider=${location.provider}")// After accuracy filter so bad GPS doesn't pollute speed averageprofileManager.onLocationUpdate(location)@@ -812,7 +812,7 @@ class LocationForegroundService : Service() {syncManager.queueAndSend(locationId, payload)- AppLogger.d(TAG, "Anchor point saved at geofence '${geofence.name}' center (${geofence.lat}, ${geofence.lon})")+ AppLogger.d(TAG, "Anchor point saved at geofence '${geofence.name}' center")}}