Make apex.key and certificate overridable.
Test: apex_test.go Fixes: 185477325 Change-Id: I8992ac5606fa92f53f07e6870a034f2d3352e618
This commit is contained in:
@@ -872,7 +872,7 @@ func (a *apexBundle) getCertificateAndPrivateKey(ctx android.PathContext) (pem,
|
||||
return a.containerCertificateFile, a.containerPrivateKeyFile
|
||||
}
|
||||
|
||||
cert := String(a.properties.Certificate)
|
||||
cert := String(a.overridableProperties.Certificate)
|
||||
if cert == "" {
|
||||
return ctx.Config().DefaultAppCertificate(ctx)
|
||||
}
|
||||
|
Reference in New Issue
Block a user