mirror of
https://github.com/bitwarden/android.git
synced 2026-05-07 19:39:41 -05:00
Ensure the Custom Chrome tab is removed from the backstack (#708)
This commit is contained in:
committed by
Álison Fernandes
parent
8baf88be47
commit
83b77730f5
@@ -24,9 +24,12 @@ class WebAuthCallbackActivity : AppCompatActivity() {
|
||||
|
||||
val intent = Intent(this, MainActivity::class.java)
|
||||
.apply {
|
||||
addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT)
|
||||
addFlags(
|
||||
Intent.FLAG_ACTIVITY_CLEAR_TOP or
|
||||
Intent.FLAG_ACTIVITY_SINGLE_TOP,
|
||||
)
|
||||
}
|
||||
startActivity(intent)
|
||||
finishAffinity()
|
||||
finish()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user