microg / IchnaeaNlpBackend

Backend for UnifiedNlp that uses Mozilla Location Service for geolocation.
119 stars 28 forks source link

Wifi throttling needs to be disabled #60

Open y0va opened 2 years ago

y0va commented 2 years ago

I needed to disable wifi throttling in the dev options to make this backend work. Else WifiService refuses to scan completely and the position is not passed on:

06-07 23:39:17.240  1293  1909 I WifiService: startScan uid=10181
06-07 23:39:17.242  1293  2037 I WifiScanRequestProxy: Scan request from org.microg.nlp.backend.ichnaea throttled
06-07 23:39:17.242  1293  1909 E WifiService: Failed to start scan
06-07 23:39:17.250  5276  5276 D BackendHelper: No change in WiFi networks

This is unpleasant, this should work out of the box.