Change recreate logic

Although this new behavior is a little more annoying, at least
it properly kills the activity and restarts it with updated configs.
This commit is contained in:
topjohnwu 2020-01-31 04:17:17 +08:00
parent 4638fdf2d7
commit 6e4777692e

View File

@ -84,4 +84,9 @@ abstract class BaseActivity : AppCompatActivity() {
startActivityForResult(intent, requestCode)
}
override fun recreate() {
startActivity(intent)
finish()
}
}