mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-08-14 17:17:26 +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:
@@ -84,4 +84,9 @@ abstract class BaseActivity : AppCompatActivity() {
|
||||
startActivityForResult(intent, requestCode)
|
||||
}
|
||||
|
||||
override fun recreate() {
|
||||
startActivity(intent)
|
||||
finish()
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user