Skip to content

Commit 740ae68

Browse files
committed
Merge branch 'look-into-moving-tapjacking-to-root-layout-instead-of-droid-1428'
2 parents ba2ddf2 + abb9bc2 commit 740ae68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/app/src/main/kotlin/net/mullvad/mullvadvpn/ui/MainActivity.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class MainActivity : ComponentActivity(), AndroidScopeComponent {
8383
setContent { AppTheme { MullvadApp() } }
8484

8585
// This is to protect against tapjacking attacks
86-
window.decorView.filterTouchesWhenObscured = true
86+
window.decorView.rootView.filterTouchesWhenObscured = true
8787

8888
// Needs to be before we start the service, since we need to access the intent there
8989
lifecycleScope.launch { intents().collect(::handleIntent) }

0 commit comments

Comments
 (0)