mirror of
https://github.com/element-hq/element-android
synced 2024-10-24 11:46:37 +03:00
Ensure the Activity is destroyed, it seems that the intent flags are not enough now. - finish all
This commit is contained in:
parent
163f4cfaf2
commit
7b969ebd74
1 changed files with 2 additions and 2 deletions
|
@ -78,8 +78,8 @@ class MainActivity : VectorBaseActivity(), UnlockedActivity {
|
|||
|
||||
intent.putExtra(EXTRA_ARGS, args)
|
||||
activity.startActivity(intent)
|
||||
// Ensure the Activity is destroyed, it seems that the intent flags are not enough now.
|
||||
activity.finish()
|
||||
// Ensure all the Activities are destroyed, it seems that the intent flags are not enough now.
|
||||
activity.finishAffinity()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue