Commit 4159b387 authored by topjohnwu's avatar topjohnwu

Fix #5867

parent 580c993c
...@@ -30,9 +30,9 @@ private class PatchedContext(base: Context) : ContextWrapper(base) { ...@@ -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
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment