This commit is contained in:
topjohnwu 2022-05-29 02:49:33 -07:00
parent 580c993c0b
commit 4159b3871c

View File

@ -30,9 +30,9 @@ private class PatchedContext(base: Context) : ContextWrapper(base) {
}
fun Resources.patch(): Resources {
syncLocale()
if (isRunningAsStub)
addAssetPath(AppApkPath)
syncLocale()
return this
}