Loading play-services-location/core/provider/src/main/kotlin/org/microg/gms/location/network/NetworkLocationService.kt +0 −6 Original line number Diff line number Diff line Loading @@ -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( Loading Loading
play-services-location/core/provider/src/main/kotlin/org/microg/gms/location/network/NetworkLocationService.kt +0 −6 Original line number Diff line number Diff line Loading @@ -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( Loading