mirror of
https://github.com/bitwarden/android.git
synced 2026-05-21 20:20:03 -05:00
Ensure the Custom Chrome tab is removed from the backstack (#708)
This commit is contained in:
@@ -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