Skip to content

Commit 0347d72

Browse files
committed
FixBug:解析插件Manifest时不识别共享库Id
1 parent 1fb1611 commit 0347d72

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

PluginCore/src/com/plugin/util/ManifestReader.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@ private static String getAttributeValue(XmlResourceParser parser, int index) {
141141
if (type >= TypedValue.TYPE_FIRST_INT && type <= TypedValue.TYPE_LAST_INT) {
142142
return String.valueOf(data);
143143
}
144+
if (type == 0x07) {
145+
return String.format("@%s%08X", getPackage(data), data);
146+
}
144147
return String.format("<0x%X, type 0x%02X>", data, type);
145148
}
146149

0 commit comments

Comments
 (0)