diff options
| author | Albin <albin@mullvad.net> | 2024-08-19 12:46:49 +0200 |
|---|---|---|
| committer | Albin <albin@mullvad.net> | 2024-08-19 12:46:49 +0200 |
| commit | 3305d6aeb3018688dc4ab28ec60d5a990bb9d8fa (patch) | |
| tree | ecc00338159437299df39e4333716b6543356fd1 /android/service | |
| parent | 58a811f70b0d9da7ad052ec98b25eff65ee4a1be (diff) | |
| parent | 69bce812c4d300a1d9e26c0086a5778da65e01da (diff) | |
| download | mullvadvpn-3305d6aeb3018688dc4ab28ec60d5a990bb9d8fa.tar.xz mullvadvpn-3305d6aeb3018688dc4ab28ec60d5a990bb9d8fa.zip | |
Merge branch 'unable-to-get-initilizationprovider-droid-1238'
Diffstat (limited to 'android/service')
| -rw-r--r-- | android/service/src/main/kotlin/net/mullvad/mullvadvpn/service/MullvadVpnService.kt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/android/service/src/main/kotlin/net/mullvad/mullvadvpn/service/MullvadVpnService.kt b/android/service/src/main/kotlin/net/mullvad/mullvadvpn/service/MullvadVpnService.kt index 77c1e92c5e..6d17b85b6a 100644 --- a/android/service/src/main/kotlin/net/mullvad/mullvadvpn/service/MullvadVpnService.kt +++ b/android/service/src/main/kotlin/net/mullvad/mullvadvpn/service/MullvadVpnService.kt @@ -16,7 +16,6 @@ import kotlinx.coroutines.flow.filter import kotlinx.coroutines.flow.first import kotlinx.coroutines.launch import kotlinx.coroutines.runBlocking -import net.mullvad.mullvadvpn.lib.common.constant.BuildTypes import net.mullvad.mullvadvpn.lib.common.constant.GRPC_SOCKET_FILE_NAMED_ARGUMENT import net.mullvad.mullvadvpn.lib.common.constant.KEY_CONNECT_ACTION import net.mullvad.mullvadvpn.lib.common.constant.KEY_DISCONNECT_ACTION @@ -150,7 +149,7 @@ class MullvadVpnService : TalpidVpnService() { private fun startDaemon() { val apiEndpointConfiguration = - if (Build.TYPE == BuildTypes.DEBUG) { + if (BuildConfig.DEBUG) { intentProvider.getLatestIntent()?.getApiEndpointConfigurationExtras() ?: apiEndpointConfiguration } else { |
