Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f51b7af2 authored by Makoto Onuki's avatar Makoto Onuki
Browse files

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
parent b758a378
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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) {