Merge "Make apex.key and certificate overridable."

This commit is contained in:
Jaewoong Jung
2021-04-22 15:37:22 +00:00
committed by Gerrit Code Review
3 changed files with 44 additions and 27 deletions

View File

@@ -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)
}