soong: Always return release-keys
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
This commit is contained in:
parent
8b8cdfec31
commit
a3f7db5533
1 changed files with 1 additions and 8 deletions
|
|
@ -1052,14 +1052,7 @@ func (c *config) ExtraOtaKeys(ctx PathContext, recovery bool) []SourcePath {
|
|||
}
|
||||
|
||||
func (c *config) BuildKeys() string {
|
||||
defaultCert := String(c.productVariables.DefaultAppCertificate)
|
||||
if defaultCert == "" || defaultCert == filepath.Join(testKeyDir, "testkey") {
|
||||
return "test-keys"
|
||||
}
|
||||
if strings.HasPrefix(defaultCert, "vendor/lineage-priv/") {
|
||||
return "release-keys"
|
||||
}
|
||||
return "dev-keys"
|
||||
return "release-keys"
|
||||
}
|
||||
|
||||
func (c *config) ApexKeyDir(ctx ModuleContext) SourcePath {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue