mirror of
https://github.com/iBotPeaches/Apktool.git
synced 2024-11-23 04:30:04 +00: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
|
||||
*~
|
||||
*.project
|
||||
*.classpath
|
||||
*.settings
|
||||
*.setting
|
||||
bin/
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user