You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
}
}
// TODO: Investigate if this method be pulled to BasemapViewModel since location lock is available
// Issue URL: https://github.com/google/ground-android/issues/2985
// for all map tasks.
suspend fun initLocationUpdates(mapViewModel: BaseMapViewModel) {
val locationLockEnabledState =
if (mapViewModel.hasLocationPermission()) {
// User has permission to enable location updates, enable it now.
The text was updated successfully, but these errors were encountered:
for all map tasks.
ground-android/ground/src/main/java/com/google/android/ground/ui/datacollection/tasks/location/CaptureLocationTaskViewModel.kt
Lines 81 to 83 in 4c5d13a
The text was updated successfully, but these errors were encountered: