Merge "Sort the list of hidden warnings" am: ca0ca60502 am: 0c5f8233e5 am: b93c87eee0

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1990717

Change-Id: I829a4d0eb592f3236e5b507e184aa5e3274441c1
This commit is contained in:
Anton Hansson 2022-02-21 15:30:37 +00:00 committed by Automerger Merge Worker
commit 06fd5ea171

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