Skip to content

Commit 5b95a0a

Browse files
committed
fix(core.loader): ShadowApplication初始化setShadowApplication
否则ShadowApplication作为ShadowContext时缺少mShadowApplication的值。
1 parent 061e4aa commit 5b95a0a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

projects/sdk/core/loader/src/main/kotlin/com/tencent/shadow/core/loader/blocs/CreateApplicationBloc.kt

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ object CreateApplicationBloc {
6060
shadowApplication.applicationInfo = pluginApplicationInfo
6161
shadowApplication.setBusinessName(loadParameters.businessName)
6262
shadowApplication.setPluginPartKey(partKey)
63+
shadowApplication.setShadowApplication(shadowApplication)
6364

6465
//和ShadowActivityDelegate.initPluginActivity一样,attachBaseContext放到最后
6566
shadowApplication.setHostApplicationContextAsBase(hostAppContext)

0 commit comments

Comments
 (0)