Skip to content

Commit 3e92ce2

Browse files
authored
fix(geolocation): remove logging of priority (#3002)
1 parent 12da195 commit 3e92ce2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

plugins/geolocation/android/src/main/java/Geolocation.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ public class Geolocation(private val context: Context) {
9191
val lowPrio = if (networkEnabled) Priority.PRIORITY_BALANCED_POWER_ACCURACY else Priority.PRIORITY_LOW_POWER
9292
val prio = if (enableHighAccuracy) Priority.PRIORITY_HIGH_ACCURACY else lowPrio
9393

94-
Logger.error(prio.toString())
95-
9694
val locationRequest = LocationRequest.Builder(10000)
9795
.setMaxUpdateDelayMillis(timeout)
9896
.setMinUpdateIntervalMillis(5000)
@@ -145,4 +143,4 @@ public class Geolocation(private val context: Context) {
145143

146144
return lastLoc
147145
}
148-
}
146+
}

0 commit comments

Comments
 (0)