Skip to content

Commit 36071aa

Browse files
committed
fixed wrong check on attribute type
1 parent 25db152 commit 36071aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

soot-infoflow-android/src/soot/jimple/infoflow/android/axml/parsers/AXML20Parser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ else if (obj instanceof ValueWrapper) {
166166
new AXmlAttribute<AXmlColorValue>(tname, resourceId, type, colorVal, ns, false));
167167
} else
168168
throw new RuntimeException("Unsupported value type");
169-
} else if (type == AXmlConstants.TYPE_INT_COLOR_ARGB4) {
169+
} else if (type == AXmlConstants.TYPE_INT_COLOR_RGB4) {
170170
if (obj instanceof Integer) {
171171
int color = (Integer) obj;
172172
int b = color & 0x000F;

0 commit comments

Comments
 (0)