Colota - Android GPS Location tracker
chore(geofence): log fixes dropped inside an active pause zone (#598)
Max Dietrich8f6a04fee6f5
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 dc2f19b5..8a85efb4 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@@ -913,6 +913,7 @@ class LocationForegroundService : Service() {val zone = geofenceHelper.getPauseZone(location)if (zone != null && insidePauseZone && zone.name == currentZoneName) {+ AppLogger.d(TAG, "Location dropped: inside active pause zone '$currentZoneName'")// Send position to UI so the map stays current while pausedval (bat, batStatus) = deviceInfoHelper.getCachedBatteryStatus()LocationServiceModule.sendLocationEvent(location, bat, batStatus)