fix: patch out bools on ResBooleans, as they must be empty
- refs:
@@ -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;
