mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-12 05:47:46 +01:00
add ResBoolValue to Style check
This commit is contained in:
parent
237283c01d
commit
a8a9c40a7b
@ -59,7 +59,8 @@ public class ResStyleValue extends ResBagValue implements
|
|||||||
// hacky-fix remove bad ReferenceVars
|
// hacky-fix remove bad ReferenceVars
|
||||||
if (resource.contains("ResReferenceValue@")) {
|
if (resource.contains("ResReferenceValue@")) {
|
||||||
continue;
|
continue;
|
||||||
} else if (resource.contains("ResStringValue@") || resource.contains("ResStyleValue@")) {
|
} else if (resource.contains("ResStringValue@") || resource.contains("ResStyleValue@") ||
|
||||||
|
resource.contains("ResBoolValue@")) {
|
||||||
name = "@" + spec.getFullName(res.getResSpec().getPackage(), false);
|
name = "@" + spec.getFullName(res.getResSpec().getPackage(), false);
|
||||||
} else {
|
} else {
|
||||||
ResAttr attr = (ResAttr) spec.getDefaultResource().getValue();
|
ResAttr attr = (ResAttr) spec.getDefaultResource().getValue();
|
||||||
|
Loading…
Reference in New Issue
Block a user