Updated on 2026-08-14
This commit is contained in:
commit
03bcdedc51
1 changed files with 0 additions and 5 deletions
|
|
@ -1,8 +1,6 @@
|
|||
package com.tangem.tap.common
|
||||
|
||||
import android.content.Context
|
||||
import android.content.Intent.FLAG_ACTIVITY_NEW_TASK
|
||||
import android.content.Intent.FLAG_ACTIVITY_NO_HISTORY
|
||||
import android.net.Uri
|
||||
import androidx.browser.customtabs.CustomTabColorSchemeParams
|
||||
import androidx.browser.customtabs.CustomTabsIntent
|
||||
|
|
@ -26,9 +24,6 @@ class CustomTabsManager {
|
|||
)
|
||||
.build()
|
||||
|
||||
// Open CustomTabsActivity as new task without saving into the stack
|
||||
customTabsIntent.intent.setFlags(FLAG_ACTIVITY_NEW_TASK or FLAG_ACTIVITY_NO_HISTORY)
|
||||
|
||||
customTabsIntent.launchUrl(context, Uri.parse(url))
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue