mirror of
https://github.com/revanced/Apktool.git
synced 2024-09-12 01:06:40 +02: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…
Reference in New Issue
Block a user