preserving browser task

This commit is contained in:
Fabian Freund
2026-04-20 12:33:10 +02:00
parent b699ef5fba
commit 14489cb375
2 changed files with 9 additions and 11 deletions
@@ -60,6 +60,7 @@ class IntentReceiverActivity : Activity() {
// Strip flags that could interfere with task management
intent.flags = intent.flags and Intent.FLAG_ACTIVITY_NEW_TASK.inv()
intent.flags = intent.flags and Intent.FLAG_ACTIVITY_CLEAR_TASK.inv()
intent.flags = intent.flags and Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS.inv()
if (shouldBlockIntent(intent)) {
finish()