Skip to content

Commit 8f7c783

Browse files
committed
set default theme to application theme
Signed-off-by: Cai Liming <405977146@163.com>
1 parent 25497ca commit 8f7c783

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PluginCore/src/com/plugin/core/PluginLoader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ private static void initPlugin(PluginDescriptor pluginDescriptor) {
196196
DexClassLoader pluginClassLoader = PluginCreator.createPluginClassLoader(pluginDescriptor.getInstalledPath());
197197
Context pluginContext = PluginCreator
198198
.createPluginApplicationContext(sApplication, pluginRes, pluginClassLoader);
199-
199+
pluginContext.setTheme(sApplication.getApplicationContext().getApplicationInfo().theme);
200200
pluginDescriptor.setPluginContext(pluginContext);
201201
pluginDescriptor.setPluginClassLoader(pluginClassLoader);
202202
}

0 commit comments

Comments
 (0)