mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-15 18:12:54 +00:00
[fenix] For https://github.com/mozilla-mobile/fenix/issues/3131 - Add new task and clear task flags when opening intent (https://github.com/mozilla-mobile/fenix/pull/3363)
This commit is contained in:
parent
1f4af03ba1
commit
52d6cf8fa0
@ -38,6 +38,7 @@ class IntentReceiverActivity : Activity() {
|
||||
}
|
||||
intent.action == Intent.ACTION_VIEW -> {
|
||||
intent.setClassName(applicationContext, HomeActivity::class.java.name)
|
||||
intent.flags = Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TASK
|
||||
true
|
||||
}
|
||||
else -> {
|
||||
|
Loading…
Reference in New Issue
Block a user