mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-22 21:30:44 +02:00
fix(geolocation): remove logging of priority (#3002)
This commit is contained in:
@@ -91,8 +91,6 @@ public class Geolocation(private val context: Context) {
|
|||||||
val lowPrio = if (networkEnabled) Priority.PRIORITY_BALANCED_POWER_ACCURACY else Priority.PRIORITY_LOW_POWER
|
val lowPrio = if (networkEnabled) Priority.PRIORITY_BALANCED_POWER_ACCURACY else Priority.PRIORITY_LOW_POWER
|
||||||
val prio = if (enableHighAccuracy) Priority.PRIORITY_HIGH_ACCURACY else lowPrio
|
val prio = if (enableHighAccuracy) Priority.PRIORITY_HIGH_ACCURACY else lowPrio
|
||||||
|
|
||||||
Logger.error(prio.toString())
|
|
||||||
|
|
||||||
val locationRequest = LocationRequest.Builder(10000)
|
val locationRequest = LocationRequest.Builder(10000)
|
||||||
.setMaxUpdateDelayMillis(timeout)
|
.setMaxUpdateDelayMillis(timeout)
|
||||||
.setMinUpdateIntervalMillis(5000)
|
.setMinUpdateIntervalMillis(5000)
|
||||||
|
|||||||
Reference in New Issue
Block a user