summaryrefslogtreecommitdiffhomepage
path: root/android/src
diff options
context:
space:
mode:
Diffstat (limited to 'android/src')
-rw-r--r--android/src/main/kotlin/net/mullvad/mullvadvpn/service/endpoint/ServiceEndpoint.kt5
1 files changed, 4 insertions, 1 deletions
diff --git a/android/src/main/kotlin/net/mullvad/mullvadvpn/service/endpoint/ServiceEndpoint.kt b/android/src/main/kotlin/net/mullvad/mullvadvpn/service/endpoint/ServiceEndpoint.kt
index 1792599088..b9258c50ac 100644
--- a/android/src/main/kotlin/net/mullvad/mullvadvpn/service/endpoint/ServiceEndpoint.kt
+++ b/android/src/main/kotlin/net/mullvad/mullvadvpn/service/endpoint/ServiceEndpoint.kt
@@ -81,7 +81,10 @@ class ServiceEndpoint(
synchronized(this) {
listeners.add(listener)
- val initialEvents = listOf(Event.ListenerReady)
+ val initialEvents = listOf(
+ Event.SettingsUpdate(settingsListener.settings),
+ Event.ListenerReady
+ )
initialEvents.forEach { event ->
listener.send(event.message)