From fced0fa39344e4b2ca1f8cf2127681850f09d898 Mon Sep 17 00:00:00 2001 From: Joakim Hulthe Date: Thu, 29 Aug 2024 12:58:39 +0200 Subject: [PATCH] Disable daemon auto-start setting on Android --- mullvad-daemon/src/settings/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mullvad-daemon/src/settings/mod.rs b/mullvad-daemon/src/settings/mod.rs index d5a222cd021c..8a42ec620448 100644 --- a/mullvad-daemon/src/settings/mod.rs +++ b/mullvad-daemon/src/settings/mod.rs @@ -111,6 +111,9 @@ impl SettingsPersister { if cfg!(target_os = "android") { should_save |= !settings.tunnel_options.generic.enable_ipv6; settings.tunnel_options.generic.enable_ipv6 = true; + + // Auto-connect is managed by Android itself. + settings.auto_connect = false; } if crate::version::is_beta_version() { should_save |= !settings.show_beta_releases;