mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-19 22:09:16 +01:00
Fix incognito mode disabled after URL intent launched (#5533)
This commit is contained in:
parent
13d39fc942
commit
2423a70abd
@ -10,7 +10,7 @@ class DeepLinkActivity : Activity() {
|
|||||||
super.onCreate(savedInstanceState)
|
super.onCreate(savedInstanceState)
|
||||||
|
|
||||||
intent.apply {
|
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)
|
setClass(applicationContext, MainActivity::class.java)
|
||||||
}
|
}
|
||||||
startActivity(intent)
|
startActivity(intent)
|
||||||
|
Loading…
Reference in New Issue
Block a user