mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-05-28 20:40:12 +02:00
Fix #5867
This commit is contained in:
parent
580c993c0b
commit
4159b3871c
@ -30,9 +30,9 @@ private class PatchedContext(base: Context) : ContextWrapper(base) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun Resources.patch(): Resources {
|
fun Resources.patch(): Resources {
|
||||||
syncLocale()
|
|
||||||
if (isRunningAsStub)
|
if (isRunningAsStub)
|
||||||
addAssetPath(AppApkPath)
|
addAssetPath(AppApkPath)
|
||||||
|
syncLocale()
|
||||||
return this
|
return this
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user