summaryrefslogtreecommitdiffhomepage
path: root/android
diff options
context:
space:
mode:
authorAlbin <albin@mullvad.net>2023-02-09 14:36:06 +0100
committerAlbin <albin@mullvad.net>2023-02-09 14:58:33 +0100
commite08ae92dc72eb43c29d31e017abe8da86c560b31 (patch)
tree7229c44dcb4b457cc485349ff9971cae5d4587fc /android
parent11ac5fd5dda9147e9c29870252a6d2313d992da3 (diff)
downloadmullvadvpn-e08ae92dc72eb43c29d31e017abe8da86c560b31.tar.xz
mullvadvpn-e08ae92dc72eb43c29d31e017abe8da86c560b31.zip
Deprecate split dns state updates
Diffstat (limited to 'android')
-rw-r--r--android/app/src/main/kotlin/net/mullvad/mullvadvpn/ui/serviceconnection/CustomDns.kt8
1 files changed, 8 insertions, 0 deletions
diff --git a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/ui/serviceconnection/CustomDns.kt b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/ui/serviceconnection/CustomDns.kt
index 50a1b9aeb7..f87fea04d2 100644
--- a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/ui/serviceconnection/CustomDns.kt
+++ b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/ui/serviceconnection/CustomDns.kt
@@ -9,7 +9,15 @@ import net.mullvad.mullvadvpn.util.trySendRequest
import net.mullvad.talpid.util.EventNotifier
class CustomDns(private val connection: Messenger, private val settingsListener: SettingsListener) {
+ @Deprecated(
+ message = "Will soon be removed in favor of onDnsOptionsChanged.",
+ replaceWith = ReplaceWith("onDnsOptionsChanged")
+ )
val onEnabledChanged = EventNotifier(false)
+ @Deprecated(
+ message = "Will soon be removed in favor of onDnsOptionsChanged.",
+ replaceWith = ReplaceWith("onDnsOptionsChanged")
+ )
val onDnsServersChanged = EventNotifier<List<InetAddress>>(emptyList())
val onDnsOptionsChanged = EventNotifier<DnsOptions?>(null)