summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAleksandr Granin <aleksandr@mullvad.net>2021-08-25 11:24:43 +0200
committerAleksandr Granin <aleksandr@mullvad.net>2021-08-26 13:15:06 +0200
commite581efd6dd450f2589408e1aedf59a1e97e76929 (patch)
tree25c1739aa45a0ea1cad9e8ffa3e444c0007bdcca
parent0795bfca94b3f54df71b3d8d713e8f0de9002327 (diff)
downloadmullvadvpn-e581efd6dd450f2589408e1aedf59a1e97e76929.tar.xz
mullvadvpn-e581efd6dd450f2589408e1aedf59a1e97e76929.zip
Initiate excluded apps list properly
-rw-r--r--android/src/main/kotlin/net/mullvad/mullvadvpn/service/endpoint/SplitTunneling.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/src/main/kotlin/net/mullvad/mullvadvpn/service/endpoint/SplitTunneling.kt b/android/src/main/kotlin/net/mullvad/mullvadvpn/service/endpoint/SplitTunneling.kt
index f9b77704c6..a2e574a359 100644
--- a/android/src/main/kotlin/net/mullvad/mullvadvpn/service/endpoint/SplitTunneling.kt
+++ b/android/src/main/kotlin/net/mullvad/mullvadvpn/service/endpoint/SplitTunneling.kt
@@ -14,7 +14,7 @@ class SplitTunneling(persistence: SplitTunnelingPersistence, endpoint: ServiceEn
update()
}
- val onChange = EventNotifier<List<String>?>(null)
+ val onChange = EventNotifier<List<String>?>(excludedApps.toList())
init {
onChange.subscribe(this) { excludedApps ->