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 76ec06d6cf6f..6a04b4fb88c2 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 @@ -83,7 +83,7 @@ class MainActivity : ComponentActivity(), AndroidScopeComponent { setContent { AppTheme { MullvadApp() } } // This is to protect against tapjacking attacks - window.decorView.filterTouchesWhenObscured = true + window.decorView.rootView.filterTouchesWhenObscured = true // Needs to be before we start the service, since we need to access the intent there lifecycleScope.launch { intents().collect(::handleIntent) }