Fix incognito mode disabled after URL intent launched (#5533)
(cherry picked from commit 2423a70abd0213a3f675921a4e5b3925bdb9d20f)
This commit is contained in:
parent
d34147803c
commit
05dbfd94e7
@ -10,7 +10,7 @@ class DeepLinkActivity : Activity() {
|
||||
super.onCreate(savedInstanceState)
|
||||
|
||||
intent.apply {
|
||||
flags = flags or Intent.FLAG_ACTIVITY_CLEAR_TASK or Intent.FLAG_ACTIVITY_NEW_TASK
|
||||
flags = flags or Intent.FLAG_ACTIVITY_CLEAR_TOP or Intent.FLAG_ACTIVITY_NEW_TASK
|
||||
setClass(applicationContext, MainActivity::class.java)
|
||||
}
|
||||
startActivity(intent)
|
||||
|
Loading…
x
Reference in New Issue
Block a user