mirror of
https://github.com/revanced/Apktool.git
synced 2025-06-13 13:27:37 +02:00
updating gitignore for compatibility w/ Eclipse & added fix for new MIUI
This commit is contained in:
@ -102,7 +102,7 @@ public class ResResSpec {
|
||||
}
|
||||
|
||||
public ResType getType() {
|
||||
return mType;
|
||||
return getmType();
|
||||
}
|
||||
|
||||
public void addResource(ResResource res)
|
||||
@ -120,6 +120,10 @@ public class ResResSpec {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return mId.toString() + " " + mType.toString() + "/" + mName;
|
||||
return mId.toString() + " " + getmType().toString() + "/" + mName;
|
||||
}
|
||||
|
||||
public ResType getmType() {
|
||||
return mType;
|
||||
}
|
||||
}
|
||||
|
@ -49,6 +49,11 @@ public class ResStyleValue extends ResBagValue implements ResValuesXmlSerializab
|
||||
}
|
||||
for (int i = 0; i < mItems.length; i++) {
|
||||
ResResSpec spec = mItems[i].m1.getReferent();
|
||||
|
||||
// hacky-fix remove bad ReferenceVars
|
||||
if (spec.getDefaultResource().getValue().toString().contains("ResReferenceValue@")) {
|
||||
continue;
|
||||
}
|
||||
ResAttr attr = (ResAttr) spec.getDefaultResource().getValue();
|
||||
String value = attr.convertToResXmlFormat(mItems[i].m2);
|
||||
|
||||
|
Reference in New Issue
Block a user