Skip to content

Commit

Permalink
Improve tapjacking prevention to not block other apps
Browse files Browse the repository at this point in the history
  • Loading branch information
Pururun committed Dec 20, 2024
1 parent 44afa37 commit 4dfa90c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) }
Expand Down

0 comments on commit 4dfa90c

Please sign in to comment.