Merge "Sort the list of hidden warnings"
This commit is contained in:
commit
ca0ca60502
1 changed files with 4 additions and 4 deletions
|
@ -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 "))
|
||||
|
||||
|
|
Loading…
Reference in a new issue