Ensure the Activity is destroyed, it seems that the intent flags are not enough now. - finish all

This commit is contained in:
Benoit Marty 2020-11-27 16:00:30 +01:00
parent 163f4cfaf2
commit 7b969ebd74
1 changed files with 2 additions and 2 deletions

View File

@ -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()
}
}