Sort the list of hidden warnings

The list was difficult to read.

Test: m nothing
Change-Id: I55c55033e411f891083264942c543dcd45540c75
This commit is contained in:
Anton Hansson 2022-02-18 19:24:30 +00:00
parent a5969bec06
commit 3c0779a6b1

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 "))