mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-04 13:07:31 +01: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
@ -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…
x
Reference in New Issue
Block a user