Merge "[aapt2] Support ConfigVarying in CTS resources"

This commit is contained in:
TreeHugger Robot
2021-10-25 16:37:28 +00:00
committed by Android (Google) Code Review

View File

@@ -565,6 +565,8 @@ std::unique_ptr<Value> BinaryResourceParser::ParseMapEntry(const ResourceNameRef
const ResTable_map_entry* map) {
switch (name.type) {
case ResourceType::kStyle:
// fallthrough
case ResourceType::kConfigVarying: // legacy thing used in tests
return ParseStyle(name, config, map);
case ResourceType::kAttrPrivate:
// fallthrough