diff options
Diffstat (limited to 'android/apex.go')
| -rw-r--r-- | android/apex.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/apex.go b/android/apex.go index 79ab13caf..e73b3e662 100644 --- a/android/apex.go +++ b/android/apex.go @@ -833,7 +833,7 @@ func UpdateDirectlyInAnyApex(mctx BottomUpMutatorContext, am ApexModule) { // If this is the FinalModule (last visited module) copy // AnyVariantDirectlyInAnyApex to all the other variants - if am == mctx.FinalModule().(ApexModule) { + if mctx.IsFinalModule(am) { mctx.VisitAllModuleVariants(func(variant Module) { variant.(ApexModule).apexModuleBase().ApexProperties.AnyVariantDirectlyInAnyApex = base.ApexProperties.AnyVariantDirectlyInAnyApex |