Fix flags being defined as references

This commit is contained in:
Pierre-Hugues Husson 2015-09-10 18:04:40 +02:00
parent e8ad159438
commit e7b294a3ea

View File

@ -41,6 +41,9 @@ public class ResFlagsAttr extends ResAttr {
@Override
public String convertToResXmlFormat(ResScalarValue value)
throws AndrolibException {
if(value instanceof ResReferenceValue) {
return value.encodeAsResXml();
}
if (!(value instanceof ResIntValue)) {
return super.convertToResXmlFormat(value);
}