ground-android icon indicating copy to clipboard operation
ground-android copied to clipboard

Investigate if this method be pulled to BasemapViewModel since location lock is available...

Open github-actions[bot] opened this issue 11 months ago • 0 comments

for all map tasks.

https://github.com/google/ground-android/blob/4c5d13acdc698760b90b0658e147a5ac70982b74/ground/src/main/java/com/google/android/ground/ui/datacollection/tasks/location/CaptureLocationTaskViewModel.kt#L81-L83


    }
  }

  // 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.

github-actions[bot] avatar Jan 06 '25 17:01 github-actions[bot]