mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-25 10:27:39 +00:00
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:
parent
4638fdf2d7
commit
6e4777692e
@ -84,4 +84,9 @@ abstract class BaseActivity : AppCompatActivity() {
|
||||
startActivityForResult(intent, requestCode)
|
||||
}
|
||||
|
||||
override fun recreate() {
|
||||
startActivity(intent)
|
||||
finish()
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user