Add soong config variable Release_expose_flagged_api

The variable is a release config variable which will be used to
determine whether if the api marked @FlaggedApi is exposed or not.

Test: m nothing
Bug: 299570421
Change-Id: I5647608065543cf5059836f6d6e8906a23145541
This commit is contained in:
Jihoon Kang
2023-09-26 22:32:08 +00:00
parent 832e131725
commit 03f1aa064a
2 changed files with 6 additions and 0 deletions

View File

@@ -2084,3 +2084,7 @@ func (c *deviceConfig) CheckVendorSeappViolations() bool {
func (c *deviceConfig) NextReleaseHideFlaggedApi() bool {
return Bool(c.config.productVariables.NextReleaseHideFlaggedApi)
}
func (c *deviceConfig) ReleaseExposeFlaggedApi() bool {
return Bool(c.config.productVariables.ReleaseExposeFlaggedApi)
}