summaryrefslogtreecommitdiffhomepage
path: root/android/src
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2020-12-01 19:25:06 +0000
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2021-01-25 12:09:10 +0000
commitf847a0d291235f7349b74c42bf4f65495fb34bc9 (patch)
treec7983ef671a429f5b72fc5a2088bc2b28146a354 /android/src
parent1b25cbcb959595c479ec2371799e27f80418dd45 (diff)
downloadmullvadvpn-f847a0d291235f7349b74c42bf4f65495fb34bc9.tar.xz
mullvadvpn-f847a0d291235f7349b74c42bf4f65495fb34bc9.zip
Remove `ConnectivityListener` reference from UI
Diffstat (limited to 'android/src')
-rw-r--r--android/src/main/kotlin/net/mullvad/mullvadvpn/ui/ServiceConnection.kt1
-rw-r--r--android/src/main/kotlin/net/mullvad/mullvadvpn/ui/ServiceDependentFragment.kt5
2 files changed, 0 insertions, 6 deletions
diff --git a/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/ServiceConnection.kt b/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/ServiceConnection.kt
index 33e1698b15..43a0e24dc8 100644
--- a/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/ServiceConnection.kt
+++ b/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/ServiceConnection.kt
@@ -8,7 +8,6 @@ class ServiceConnection(private val service: ServiceInstance, val mainActivity:
val daemon = service.daemon
val accountCache = service.accountCache
val connectionProxy = service.connectionProxy
- val connectivityListener = service.connectivityListener
val customDns = service.customDns
val keyStatusListener = service.keyStatusListener
val locationInfoCache = service.locationInfoCache
diff --git a/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/ServiceDependentFragment.kt b/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/ServiceDependentFragment.kt
index 1e1ba969ed..e523ba481b 100644
--- a/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/ServiceDependentFragment.kt
+++ b/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/ServiceDependentFragment.kt
@@ -15,7 +15,6 @@ import net.mullvad.mullvadvpn.service.LocationInfoCache
import net.mullvad.mullvadvpn.service.MullvadDaemon
import net.mullvad.mullvadvpn.service.SettingsListener
import net.mullvad.mullvadvpn.service.SplitTunneling
-import net.mullvad.talpid.ConnectivityListener
abstract class ServiceDependentFragment(val onNoService: OnNoService) : ServiceAwareFragment() {
enum class OnNoService {
@@ -42,9 +41,6 @@ abstract class ServiceDependentFragment(val onNoService: OnNoService) : ServiceA
lateinit var connectionProxy: ConnectionProxy
private set
- lateinit var connectivityListener: ConnectivityListener
- private set
-
lateinit var customDns: CustomDns
private set
@@ -72,7 +68,6 @@ abstract class ServiceDependentFragment(val onNoService: OnNoService) : ServiceA
accountCache = serviceConnection.accountCache
appVersionInfoCache = serviceConnection.appVersionInfoCache
connectionProxy = serviceConnection.connectionProxy
- connectivityListener = serviceConnection.connectivityListener
customDns = serviceConnection.customDns
daemon = serviceConnection.daemon
keyStatusListener = serviceConnection.keyStatusListener