mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-08 11:05:52 +01:00
Fix flags being defined as references
This commit is contained in:
parent
e8ad159438
commit
e7b294a3ea
@ -41,6 +41,9 @@ public class ResFlagsAttr extends ResAttr {
|
|||||||
@Override
|
@Override
|
||||||
public String convertToResXmlFormat(ResScalarValue value)
|
public String convertToResXmlFormat(ResScalarValue value)
|
||||||
throws AndrolibException {
|
throws AndrolibException {
|
||||||
|
if(value instanceof ResReferenceValue) {
|
||||||
|
return value.encodeAsResXml();
|
||||||
|
}
|
||||||
if (!(value instanceof ResIntValue)) {
|
if (!(value instanceof ResIntValue)) {
|
||||||
return super.convertToResXmlFormat(value);
|
return super.convertToResXmlFormat(value);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user