Add preparer for overlay pre-singleton registration
It appears as though this is the first pre-singleton type to actually be registered with the InitRegistrationContext as it failed due to an uninitialized map, so this change also fixes that. Bug: 182885307 Test: m nothing Change-Id: Ibbf6d0db5f3c2fcc89291a16aa5f16b8b5009bd3
This commit is contained in:
@@ -263,8 +263,9 @@ type RegistrationContext interface {
|
||||
// ctx := android.NewTestContext(config)
|
||||
// RegisterBuildComponents(ctx)
|
||||
var InitRegistrationContext RegistrationContext = &initRegistrationContext{
|
||||
moduleTypes: make(map[string]ModuleFactory),
|
||||
singletonTypes: make(map[string]SingletonFactory),
|
||||
moduleTypes: make(map[string]ModuleFactory),
|
||||
singletonTypes: make(map[string]SingletonFactory),
|
||||
preSingletonTypes: make(map[string]SingletonFactory),
|
||||
}
|
||||
|
||||
// Make sure the TestContext implements RegistrationContext.
|
||||
|
Reference in New Issue
Block a user