mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-20 16:57:34 +01:00
ResReferenceValue.toResXmlFormat(): adding plus sign for references to ResIdValue.
This commit is contained in:
parent
77957ae1ae
commit
921eae6b8d
@ -44,9 +44,15 @@ public class ResReferenceValue extends ResIntValue {
|
||||
return "@null";
|
||||
}
|
||||
|
||||
ResResSpec spec = getReferent();
|
||||
boolean newId =
|
||||
spec.hasDefaultResource() &&
|
||||
spec.getDefaultResource().getValue() instanceof ResIdValue;
|
||||
|
||||
return
|
||||
(mTheme ? '?' : '@') +
|
||||
getReferent().getFullName(mPackage, mTheme);
|
||||
(newId ? "+" : "") +
|
||||
spec.getFullName(mPackage, mTheme);
|
||||
}
|
||||
|
||||
public ResResSpec getReferent() throws AndrolibException {
|
||||
|
Loading…
x
Reference in New Issue
Block a user