Commit 6e477769 authored by topjohnwu's avatar topjohnwu

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.
parent 4638fdf2
...@@ -84,4 +84,9 @@ abstract class BaseActivity : AppCompatActivity() { ...@@ -84,4 +84,9 @@ abstract class BaseActivity : AppCompatActivity() {
startActivityForResult(intent, requestCode) startActivityForResult(intent, requestCode)
} }
override fun recreate() {
startActivity(intent)
finish()
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment