Fix aapt2 badging return codes
aapt2 was returning the inverse return code when duumping badging. Bug: 129476626 Test: aapt2 dump badging [APK] && echo $? Change-Id: Icd236e5fad3284c8bc4a0e2d7e9fb7cfb3262b6c
This commit is contained in:
@@ -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