preserving browser task

This commit is contained in:
Fabian Freund committed 2026-04-20 12:33:10 +02:00
1 parent b699ef5fba
commit 14489cb375
2 files changed
+9 -11

No files matched your search

@@ -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()