Merge "Support default-permission in aconfig_declarations" into main

This commit is contained in:
Zhi Dou
2023-08-14 14:12:27 +00:00
committed by Gerrit Code Review
4 changed files with 25 additions and 5 deletions

View File

@@ -206,6 +206,12 @@ func (c Config) ReleaseAconfigValueSets() []string {
return c.config.productVariables.ReleaseAconfigValueSets
}
// The flag default permission value passed to aconfig
// derived from RELEASE_ACONFIG_FLAG_DEFAULT_PERMISSION
func (c Config) ReleaseAconfigFlagDefaultPermission() string {
return c.config.productVariables.ReleaseAconfigFlagDefaultPermission
}
// A DeviceConfig object represents the configuration for a particular device
// being built. For now there will only be one of these, but in the future there
// may be multiple devices being built.