UnifiedNlp icon indicating copy to clipboard operation
UnifiedNlp copied to clipboard

More location backends are displayed than installed

Open pflanzenandi opened this issue 3 years ago • 4 comments

After uninstalling Deja Vu and switching to MozillaNlpBackend, I still see '3 backends configured' under 'Location modules' in settings.

Android 10 0.2.21.203315

pflanzenandi avatar Sep 17 '20 17:09 pflanzenandi

Is Nominatim also installed in as reverse-location provider ?

breversa avatar Sep 22 '20 13:09 breversa

Yes, it is, but that should show 2 in total, right? Screenshot_20200922-150629_microG_Services_Core Screenshot_20200922-150636_microG_Services_Core

pflanzenandi avatar Sep 22 '20 13:09 pflanzenandi

Thanks for reporting. Indeed UnifiedNlp keeps the Deja Vu backend "enabled" even when not installed anymore and there is no way to disable it then. The reason why backends keep enabled is that during their upgrade process, apps may appear "uninstalled" for a short term, but this shouldn't trigger them to be disabled.

Backends that are no longer installed should probably be removed latest when enabling or disabling other backends after others were uninstalled. Also the number in settings should better refer to the number of connected backends instead of enabled.

mar-v-in avatar Oct 13 '20 20:10 mar-v-in

I experience the same issue after sideloading a patched rom with an upgraded location apk:

my first build included LocalGsmNlpBackend 1.4.23, second one, version 1.5.0 (both signed by fdroid). microG shows after sideload (falsely): "3 backend configured"

skulko avatar Jan 14 '21 11:01 skulko