mirror of
https://github.com/revanced/Apktool.git
synced 2024-11-10 14:39:25 +01:00
minor comment change / cleanup
This commit is contained in:
parent
fcc3144904
commit
f504ceca43
@ -48,11 +48,10 @@ public class ResReferenceValue extends ResIntValue {
|
||||
spec.hasDefaultResource() &&
|
||||
spec.getDefaultResource().getValue() instanceof ResIdValue;
|
||||
|
||||
/* generate the beginning to fix @android */
|
||||
// generate the beginning to fix @android
|
||||
String mStart = (mTheme ? '?' : '@') + (newId ? "+" : "");
|
||||
// mStart = mStart.replace("@android", "@*android");
|
||||
//mStart = mStart.replace("@android", "@*android");
|
||||
|
||||
/* now dump back */
|
||||
return mStart +
|
||||
spec.getFullName(mPackage,
|
||||
mTheme && spec.getType().getName().equals("attr"));
|
||||
|
@ -94,15 +94,14 @@ public abstract class ResScalarValue extends ResValue
|
||||
|
||||
String body = encodeAsResXmlValue();
|
||||
|
||||
|
||||
/* check for resource reference */
|
||||
// check for resource reference
|
||||
if (body.contains("@")){
|
||||
if(!res.getFilePath().contains("string")) {
|
||||
item = true;
|
||||
}
|
||||
}
|
||||
|
||||
/* check for using attrib as node or item */
|
||||
// check for using attrib as node or item
|
||||
String tagName = item ? "item" : type;
|
||||
|
||||
serializer.startTag(null, tagName);
|
||||
|
Loading…
Reference in New Issue
Block a user