From f51b7af2a4c0d23845a01922dfb7a034ef9b5f39 Mon Sep 17 00:00:00 2001 From: Makoto Onuki Date: Tue, 23 Jun 2020 10:52:58 -0700 Subject: [PATCH] Enable check for "try to expose APIs from hidden class" Exempt-From-Owner-Approval:Cherry-pick from goog/master Bug: 159121253 Test: treehugger (i.e. this shouldn't trigger "API has changed" error.) Merged-in: I6ca2d8e3967cdc41aa2a931972472174aae2a613 Change-Id: I6ca2d8e3967cdc41aa2a931972472174aae2a613 --- java/droiddoc.go | 1 - 1 file changed, 1 deletion(-) diff --git a/java/droiddoc.go b/java/droiddoc.go index 5cb70e4cd..d6bff95c5 100644 --- a/java/droiddoc.go +++ b/java/droiddoc.go @@ -1321,7 +1321,6 @@ func (d *Droidstubs) stubsFlags(ctx android.ModuleContext, cmd *android.RuleBuil cmd.Flag("--exclude-documentation-from-stubs") } } - cmd.FlagWithArg("--hide ", "ShowingMemberInHiddenClass") // b/159121253 -- remove it once all the violations are fixed. } func (d *Droidstubs) annotationsFlags(ctx android.ModuleContext, cmd *android.RuleBuilderCommand) {