diff --git a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/ui/MainActivity.kt b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/ui/MainActivity.kt index 1d9de026afb0..d4bcf3776a67 100644 --- a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/ui/MainActivity.kt +++ b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/ui/MainActivity.kt @@ -91,7 +91,9 @@ class MainActivity : ComponentActivity(), AndroidScopeComponent { override fun onStop() { super.onStop() - serviceConnectionManager.unbind() + if (privacyDisclaimerRepository.hasAcceptedPrivacyDisclosure()) { + serviceConnectionManager.unbind() + } } override fun onDestroy() {