Merge "Fix aapt2 badging return codes"

This commit is contained in:
TreeHugger Robot
2019-03-29 17:28:26 +00:00
committed by Android (Google) Code Review

View File

@@ -2314,7 +2314,7 @@ std::unique_ptr<ManifestExtractor::Element> ManifestExtractor::Visit(xml::Elemen
int DumpManifest(LoadedApk* apk, DumpManifestOptions& options, text::Printer* printer,
IDiagnostics* diag) {
ManifestExtractor extractor(apk, options);
return extractor.Dump(printer, diag);
return extractor.Dump(printer, diag) ? 0 : 1;
}
} // namespace aapt