mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-20 16:57:34 +01:00
parent
76a940628f
commit
3dea579f66
@ -59,7 +59,7 @@ public class ResStyleValue extends ResBagValue implements
|
||||
// hacky-fix remove bad ReferenceVars
|
||||
if (resource.contains("ResReferenceValue@")) {
|
||||
continue;
|
||||
} else if (resource.contains("ResStringValue@")) {
|
||||
} else if (resource.contains("ResStringValue@") || resource.contains("ResStyleValue@")) {
|
||||
name = "@" + spec.getFullName(res.getResSpec().getPackage(), false);
|
||||
} else {
|
||||
ResAttr attr = (ResAttr) spec.getDefaultResource().getValue();
|
||||
|
@ -39,7 +39,7 @@ public class ResAttrDecoder {
|
||||
.getResSpec(attrResId).getDefaultResource().getValue();
|
||||
|
||||
decoded = attr.convertToResXmlFormat(resValue);
|
||||
} catch (UndefinedResObject ex) {
|
||||
} catch (UndefinedResObject | ClassCastException ex) {
|
||||
// ignored
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user