summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAleksandr Granin <aleksandr@mullvad.net>2021-08-26 13:17:13 +0200
committerAleksandr Granin <aleksandr@mullvad.net>2021-08-26 13:17:13 +0200
commit63f678dce2c5a61b39a5f3ca603caf336193a9ff (patch)
tree17ca53915deaf410b1f0ba01b3a8445fd61d69f3
parent0795bfca94b3f54df71b3d8d713e8f0de9002327 (diff)
parente54e0fde2f528e09f7ebdac52df8d98ed32f0425 (diff)
downloadmullvadvpn-63f678dce2c5a61b39a5f3ca603caf336193a9ff.tar.xz
mullvadvpn-63f678dce2c5a61b39a5f3ca603caf336193a9ff.zip
Merge branch 'fix-splittunneling-initial-list'
-rw-r--r--CHANGELOG.md2
-rw-r--r--android/src/main/kotlin/net/mullvad/mullvadvpn/service/endpoint/SplitTunneling.kt2
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a64835ef51..198fd41a12 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -75,6 +75,8 @@ Line wrap the file at 100 chars. Th
#### Android
- Fix erasing wireguard MTU value in some scenarious.
+- Fix initial state of Split tunneling excluded apps list. Previously it was not notified the daemon
+properly after initialization.
## [2021.4] - 2021-06-30
This release is for desktop only.
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 ->