mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 08:08:55 +01:00 
			
		
		
		
	Fix incognito mode disabled after URL intent launched (#5533)
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user