Merge "Make apex.key and certificate overridable."
This commit is contained in:
@@ -871,7 +871,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