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

Commit a8a0a479 authored by Jonathan Klee's avatar Jonathan Klee
Browse files

Remove notification to configure location service

parent 926a5ec6
Loading
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -82,12 +82,6 @@ class NetworkLocationService : LifecycleService(), WifiDetailsCallback, CellDeta
        handler = Handler(handlerThread.looper)
        wifiDetailsSource = WifiDetailsSource.create(this, this).apply { enable() }
        cellDetailsSource = CellDetailsSource.create(this, this).apply { enable() }
        if (settings.effectiveEndpoint == null && (settings.wifiIchnaea || settings.cellIchnaea)) {
            sendBroadcast(Intent(ACTION_CONFIGURATION_REQUIRED).apply {
                `package` = packageName
                putExtra(EXTRA_CONFIGURATION, CONFIGURATION_FIELD_ONLINE_SOURCE)
            })
        }
        try {
            getSystemService<LocationManager>()?.let { locationManager ->
                LocationManagerCompat.requestLocationUpdates(