Skip to content

Commit dd37577

Browse files
committed
优化
1 parent bd174ea commit dd37577

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PluginCore/src/main/java/com/plugin/core/manager/PluginManagerHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public static Collection<PluginDescriptor> getPlugins() {
5555

5656
public static PluginDescriptor getPluginDescriptorByPluginId(String pluginId) {
5757

58-
if ("com.android.webview".equals(pluginId)) {
58+
if (pluginId.startsWith("com.android.")) {
5959
// 之所以有这判断, 是因为可能BinderProxyDelegate
6060
// 或者AndroidAppIPackageManager
6161
// 或者PluginBaseContextWrapper.createPackageContext

0 commit comments

Comments
 (0)