Merge "apex: file_contexts for override_apex flattened" into rvc-dev am: d5c7ad63ec am: 5cf94ce9dc am: d5175f7952

Change-Id: I9648e938ce60ea8d15c30d723954cc90e6e5d639
This commit is contained in:
Jooyung Han
2020-04-28 03:57:43 +00:00
committed by Automerger Merge Worker

View File

@@ -596,7 +596,7 @@ func (a *apexBundle) buildFlattenedApex(ctx android.ModuleContext) {
apexBundleName := a.Name()
a.outputFile = android.PathForModuleInstall(&factx, "apex", apexBundleName)
if a.installable() && a.GetOverriddenBy() == "" {
if a.installable() {
installPath := android.PathForModuleInstall(ctx, "apex", apexBundleName)
devicePath := android.InstallPathToOnDevicePath(ctx, installPath)
addFlattenedFileContextsInfos(ctx, apexBundleName+":"+devicePath+":"+a.fileContexts.String())