Merge "Return copies of global sanitizer slices"
This commit is contained in:
commit
da84958b15
1 changed files with 2 additions and 2 deletions
|
@ -317,14 +317,14 @@ func (c *config) SanitizeHost() []string {
|
|||
if c.ProductVariables.SanitizeHost == nil {
|
||||
return nil
|
||||
}
|
||||
return *c.ProductVariables.SanitizeHost
|
||||
return append([]string(nil), *c.ProductVariables.SanitizeHost...)
|
||||
}
|
||||
|
||||
func (c *config) SanitizeDevice() []string {
|
||||
if c.ProductVariables.SanitizeDevice == nil {
|
||||
return nil
|
||||
}
|
||||
return *c.ProductVariables.SanitizeDevice
|
||||
return append([]string(nil), *c.ProductVariables.SanitizeDevice...)
|
||||
}
|
||||
|
||||
func (c *config) Android64() bool {
|
||||
|
|
Loading…
Reference in a new issue