Merge changes from topic "expose_flagged_api_revert" into main
* changes: Revert^2 "Add flagged api hide conditional to droidstubs" Revert^2 "Add soong config variable Release_expose_flagged_api"
This commit is contained in:
@@ -2085,3 +2085,11 @@ 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.Release_expose_flagged_api)
|
||||
}
|
||||
|
||||
func (c *deviceConfig) HideFlaggedApis() bool {
|
||||
return c.NextReleaseHideFlaggedApi() && !c.ReleaseExposeFlaggedApi()
|
||||
}
|
||||
|
Reference in New Issue
Block a user