Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da3fdb29 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

location: allow IP fallback for Wi-Fi geolocation

parent 6c541f54
Loading
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -87,7 +87,6 @@ class IchnaeaServiceClient(private val context: Context) {

    suspend fun retrieveMultiWifiLocation(wifis: List<WifiDetails>, rawHandler: ((WifiDetails, Location) -> Unit)? = null): Location? = geoLocate(
        GeolocateRequest(
            considerIp = false,
            wifiAccessPoints = wifis.filter { isRequestable(it) }.map(WifiDetails::toWifiAccessPoint),
            fallbacks = Fallback(lacf = true, ipf = true)
        ),