From 3c0779a6b1e916e50f512d2db65de634d2ced188 Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Fri, 18 Feb 2022 19:24:30 +0000 Subject: [PATCH] Sort the list of hidden warnings The list was difficult to read. Test: m nothing Change-Id: I55c55033e411f891083264942c543dcd45540c75 --- java/sdk_library.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 "))