NTP-50922: PL Web | CCT Redirection Enhancements (#15541)
This commit is contained in:
@@ -192,11 +192,9 @@ class WebRedirectionTransparentActivity : BaseActivity() {
|
||||
.setShowTitle(false)
|
||||
.build()
|
||||
customTabsIntent.intent.setFlags(
|
||||
Intent.FLAG_ACTIVITY_NO_HISTORY or
|
||||
Intent.FLAG_ACTIVITY_NEW_TASK or
|
||||
Intent.FLAG_ACTIVITY_SINGLE_TOP
|
||||
Intent.FLAG_ACTIVITY_SINGLE_TOP or Intent.FLAG_ACTIVITY_CLEAR_TOP
|
||||
)
|
||||
customTabsIntent.launchUrl(this, Uri.parse(url))
|
||||
customTabsIntent.launchUrl(this@WebRedirectionTransparentActivity, Uri.parse(url))
|
||||
finish()
|
||||
} else {
|
||||
/** Fallback to opening the Url in browser, if custom tab is not available * */
|
||||
|
||||
Reference in New Issue
Block a user