mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-12 13:57:46 +01:00
fix: patch out bools on ResBooleans, as they must be empty
- refs: #1918
This commit is contained in:
parent
0dfa6c4656
commit
f997e0aff1
@ -83,6 +83,13 @@ public abstract class ResScalarValue extends ResIntBasedValue implements
|
||||
}
|
||||
}
|
||||
|
||||
// Android does not allow values (false) for ids.xml anymore
|
||||
// https://issuetracker.google.com/issues/80475496
|
||||
// But it decodes as a ResBoolean, which makes no sense. So force it to empty
|
||||
if (type.equalsIgnoreCase("id") && !body.isEmpty()) {
|
||||
body = "";
|
||||
}
|
||||
|
||||
// check for using attrib as node or item
|
||||
String tagName = item ? "item" : type;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user