Commit adafe8e
feat(core.runtime): 支持Content Provider设置multiprocess="true"
当 multiprocess="true" 时,PluginContainerContentProvider 不会在 Application.onCreate 之前创建,而是在真正被调用时才会创建。
当 PluginContainerContentProvider.onCreate 方法被调用时,DelegateProviderHolderPrepareListener.onPrepare 方法已经被调用(在 DynamicPluginLoader.<init> 方法中),导致 PluginContainerContentProvider.hostContentProviderDelegate 没有被赋值。1 parent 45bb5d0 commit adafe8e
1 file changed
Lines changed: 4 additions & 0 deletions
File tree
- projects/sdk/core/common/src/main/java/com/tencent/shadow/core/runtime/container
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
41 | 45 | | |
42 | 46 | | |
43 | 47 | | |
| |||
0 commit comments