diff options
Diffstat (limited to 'android/app')
| -rw-r--r-- | android/app/src/main/kotlin/net/mullvad/mullvadvpn/ui/MainActivity.kt | 2 |
1 files changed, 1 insertions, 1 deletions
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 76ec06d6cf..6a04b4fb88 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) } |
