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

Commit 03f1aa06 authored by Jihoon Kang's avatar Jihoon Kang
Browse files

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
parent 832e1317
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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)
}
+2 −0
Original line number Diff line number Diff line
@@ -490,6 +490,8 @@ type ProductVariables struct {
	PartitionVarsForBazelMigrationOnlyDoNotUse PartitionVariables `json:",omitempty"`

	NextReleaseHideFlaggedApi *bool `json:",omitempty"`

	ReleaseExposeFlaggedApi *bool `json:",omitempty"`
}

type PartitionVariables struct {