Skip to content

Commit effb193

Browse files
committed
Update PackageManager
1 parent 40b91c2 commit effb193

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

PluginCore/src/com/plugin/core/systemservice/AndroidAppIPackageManager.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ private static ApplicationInfo getApplicationInfo(PluginDescriptor pluginDescrip
299299
info.taskAffinity = null;//需要时再加上
300300
info.dataDir = null;//需要时再添加
301301
info.theme = pluginDescriptor.getApplicationTheme();
302+
info.flags = info.flags | ApplicationInfo.FLAG_HAS_CODE;
302303
return info;
303304
}
304305

0 commit comments

Comments
 (0)