mirror of
https://github.com/revanced/Apktool.git
synced 2025-05-03 07:14:26 +02: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
|
// check for using attrib as node or item
|
||||||
String tagName = item ? "item" : type;
|
String tagName = item ? "item" : type;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user