Merge "apex: file_contexts for override_apex flattened" into rvc-dev

This commit is contained in:
Jooyung Han 2020-04-28 03:03:26 +00:00 committed by Android (Google) Code Review
commit d5c7ad63ec
1 changed files with 1 additions and 1 deletions

View File

@ -587,7 +587,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())