mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 15:15:34 +03:00
Ensure the Custom Chrome tab is removed from the backstack (#708)
This commit is contained in:
parent
8baf88be47
commit
83b77730f5
1 changed files with 5 additions and 2 deletions
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue