diff --git a/tools/aapt2/format/binary/BinaryResourceParser.cpp b/tools/aapt2/format/binary/BinaryResourceParser.cpp index 72eaa3561a023..c1429bee09972 100644 --- a/tools/aapt2/format/binary/BinaryResourceParser.cpp +++ b/tools/aapt2/format/binary/BinaryResourceParser.cpp @@ -565,6 +565,8 @@ std::unique_ptr 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