Merge "AAPT2: Add missing error statement"

This commit is contained in:
Adam Lesinski
2016-08-02 18:42:21 +00:00
committed by Android (Google) Code Review

View File

@@ -231,6 +231,7 @@ Maybe<xml::AaptAttribute> ReferenceLinker::compileXmlAttribute(const Reference&
std::string* outError) {
const SymbolTable::Symbol* symbol = resolveSymbol(reference, nameMangler, symbols);
if (!symbol) {
if (outError) *outError = "not found";
return {};
}