mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-22 09:47:34 +01:00
ResScalarValue::encodeAsResXml*() : use raw value if there is one.
This commit is contained in:
parent
31274e73dc
commit
30add278d5
@ -36,10 +36,16 @@ public abstract class ResScalarValue extends ResValue
|
|||||||
}
|
}
|
||||||
|
|
||||||
public String encodeAsResXmlAttr() throws AndrolibException {
|
public String encodeAsResXmlAttr() throws AndrolibException {
|
||||||
|
if (mRawValue != null) {
|
||||||
|
return mRawValue;
|
||||||
|
}
|
||||||
return encodeAsResXml();
|
return encodeAsResXml();
|
||||||
}
|
}
|
||||||
|
|
||||||
public String encodeAsResXmlValue() throws AndrolibException {
|
public String encodeAsResXmlValue() throws AndrolibException {
|
||||||
|
if (mRawValue != null) {
|
||||||
|
return mRawValue;
|
||||||
|
}
|
||||||
return encodeAsResXml();
|
return encodeAsResXml();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user