Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e5b61ba3 authored by Spandan Das's avatar Spandan Das Committed by Gerrit Code Review
Browse files

Merge "Run apexDirectlyInAnyMutator even when module is disabled" into main

parents 6b321e64 eef29fea
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1312,9 +1312,6 @@ func apexModuleTypeRequiresVariant(module ApexInfoMutator) bool {
// See android.UpdateDirectlyInAnyApex
// TODO(jiyong): move this to android/apex.go?
func apexDirectlyInAnyMutator(mctx android.BottomUpMutatorContext) {
	if !mctx.Module().Enabled(mctx) {
		return
	}
	if am, ok := mctx.Module().(android.ApexModule); ok {
		android.UpdateDirectlyInAnyApex(mctx, am)
	}