summaryrefslogtreecommitdiffhomepage
path: root/android/src
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2021-01-14 18:19:32 +0000
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2021-03-25 18:19:59 +0000
commit314b8ce406782b394e468f032ce840f80fc8e487 (patch)
tree6763ff68f68f555a885ff52483f8f4b32e746f34 /android/src
parentb8232dd52f5b57e56020de6f980f1e4cbd4259f0 (diff)
downloadmullvadvpn-314b8ce406782b394e468f032ce840f80fc8e487.tar.xz
mullvadvpn-314b8ce406782b394e468f032ce840f80fc8e487.zip
Send current location when registering listener
Diffstat (limited to 'android/src')
-rw-r--r--android/src/main/kotlin/net/mullvad/mullvadvpn/service/endpoint/ServiceEndpoint.kt1
1 files changed, 1 insertions, 0 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 043afe4cfe..5f0ecc5ecd 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
@@ -88,6 +88,7 @@ class ServiceEndpoint(
val initialEvents = listOf(
Event.SettingsUpdate(settingsListener.settings),
+ Event.NewLocation(locationInfoCache.location),
Event.ListenerReady
)