mirror of
https://github.com/revanced/Apktool.git
synced 2025-02-04 08:07:33 +01:00
updating gitignore for compatibility w/ Eclipse & added fix for new MIUI
This commit is contained in:
parent
f765060cb5
commit
58ec5e1892
4
.gitignore
vendored
4
.gitignore
vendored
@ -22,3 +22,7 @@ build*
|
|||||||
*.kate-swp
|
*.kate-swp
|
||||||
*~
|
*~
|
||||||
*.project
|
*.project
|
||||||
|
*.classpath
|
||||||
|
*.settings
|
||||||
|
*.setting
|
||||||
|
bin/
|
||||||
|
@ -102,7 +102,7 @@ public class ResResSpec {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public ResType getType() {
|
public ResType getType() {
|
||||||
return mType;
|
return getmType();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void addResource(ResResource res)
|
public void addResource(ResResource res)
|
||||||
@ -120,6 +120,10 @@ public class ResResSpec {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
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++) {
|
for (int i = 0; i < mItems.length; i++) {
|
||||||
ResResSpec spec = mItems[i].m1.getReferent();
|
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();
|
ResAttr attr = (ResAttr) spec.getDefaultResource().getValue();
|
||||||
String value = attr.convertToResXmlFormat(mItems[i].m2);
|
String value = attr.convertToResXmlFormat(mItems[i].m2);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user