initAppContext

fun initAppContext(context: Context? = getCurrentApplicationContext(), injectModuleAssetPath: Boolean = false)

手动缓存当前进程的 application context。

默认会尝试复用当前运行时里的 application; 如需让目标进程资源对象同时挂上模块资源路径,可把 injectModuleAssetPath 设为 true