preserving browser task
This commit is contained in:
+1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user