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

Commit e3ff85b9 authored by Steven Moreland's avatar Steven Moreland Committed by android-build-merger
Browse files

Merge "Automatically inherit common properties."

am: d28f688e

Change-Id: I2608257a595ade933d291ef5c4fb1f2c633c292b
parents fb45ee3d d28f688e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -243,7 +243,8 @@ func (t *topDownMutatorContext) Rename(name string) {
}

func (t *topDownMutatorContext) CreateModule(factory blueprint.ModuleFactory, props ...interface{}) {
	t.bp.CreateModule(factory, props...)
	common := []interface{}{&t.Module().base().commonProperties}
	t.bp.CreateModule(factory, append(common, props...)...)
}

func (b *bottomUpMutatorContext) MutatorName() string {