mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-24 22:57:38 +00:00
Fix activity relaunches constantly on WSA
It's magic 💢 since change configuration should not trigger activity relaunch.
This commit is contained in:
parent
f94452083f
commit
3aa1a68cdc
@ -67,7 +67,9 @@ open class App() : Application() {
|
||||
}
|
||||
|
||||
override fun onConfigurationChanged(newConfig: Configuration) {
|
||||
resources.updateConfig(newConfig)
|
||||
if (resources.configuration.diff(newConfig) != 0) {
|
||||
resources.updateConfig(newConfig)
|
||||
}
|
||||
if (!isRunningAsStub)
|
||||
super.onConfigurationChanged(newConfig)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user