diff --git a/java/sdk_library.go b/java/sdk_library.go index e794a48c1..bfdfffcd9 100644 --- a/java/sdk_library.go +++ b/java/sdk_library.go @@ -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 "))