Merge "Fix aapt2 badging return codes"
This commit is contained in:
committed by
Android (Google) Code Review
commit
b8e80e0dc0
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user