add ResBoolValue to Style check

This commit is contained in:
Connor Tumbleson 2015-12-26 06:58:39 -05:00
parent 237283c01d
commit a8a9c40a7b

View File

@ -59,7 +59,8 @@ public class ResStyleValue extends ResBagValue implements
// hacky-fix remove bad ReferenceVars
if (resource.contains("ResReferenceValue@")) {
continue;
} else if (resource.contains("ResStringValue@") || resource.contains("ResStyleValue@")) {
} else if (resource.contains("ResStringValue@") || resource.contains("ResStyleValue@") ||
resource.contains("ResBoolValue@")) {
name = "@" + spec.getFullName(res.getResSpec().getPackage(), false);
} else {
ResAttr attr = (ResAttr) spec.getDefaultResource().getValue();