Merge "Sort the list of hidden warnings"

This commit is contained in:
Anton Hansson 2022-02-21 14:19:31 +00:00 committed by Gerrit Code Review
commit ca0ca60502

View file

@ -1511,15 +1511,15 @@ func (module *SdkLibrary) createStubsSourcesAndApi(mctx android.DefaultableHookC
}
droidstubsArgs = append(droidstubsArgs, module.sdkLibraryProperties.Droiddoc_options...)
disabledWarnings := []string{
"MissingPermission",
"BroadcastBehavior",
"HiddenSuperclass",
"DeprecationMismatch",
"UnavailableSymbol",
"SdkConstant",
"HiddenSuperclass",
"HiddenTypeParameter",
"MissingPermission",
"SdkConstant",
"Todo",
"Typo",
"UnavailableSymbol",
}
droidstubsArgs = append(droidstubsArgs, android.JoinWithPrefix(disabledWarnings, "--hide "))