Merge branch 'fix-flag-ref' of https://github.com/phhusson/Apktool into phhusson-fix-flag-ref

This commit is contained in:
Connor Tumbleson 2015-09-12 15:07:49 -05:00
commit 0d53923e24

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);
}