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 e90248e79..3486350d5 100644 --- a/android/apex.go +++ b/android/apex.go @@ -812,7 +812,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 |