diff options
author | 2024-08-12 18:23:59 +0000 | |
---|---|---|
committer | 2024-08-12 22:50:19 +0000 | |
commit | 663e4508dc4fe228696ede997d5fca24e4c1431e (patch) | |
tree | 9b7af2c4054009b226b492484224bc598f4d7ae8 /android/testing.go | |
parent | 703c2e3d64aff7950a8485a2c46fe15b0f91d89e (diff) |
Merge SingletonProviderContext with OtherModuleProviderContext
Bug: 358425833
Test: CI
Change-Id: I8e3f40dc3cfc5337008b419801f8e6bf2d48e8b2
Diffstat (limited to 'android/testing.go')
-rw-r--r-- | android/testing.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/android/testing.go b/android/testing.go index e3853b844..a3e35cb99 100644 --- a/android/testing.go +++ b/android/testing.go @@ -212,7 +212,7 @@ func (ctx *TestContext) HardCodedPreArchMutators(f RegisterMutatorFunc) { ctx.PreArchMutators(f) } -func (ctx *TestContext) moduleProvider(m blueprint.Module, p blueprint.AnyProviderKey) (any, bool) { +func (ctx *TestContext) otherModuleProvider(m blueprint.Module, p blueprint.AnyProviderKey) (any, bool) { return ctx.Context.ModuleProvider(m, p) } @@ -230,7 +230,7 @@ func (ctx *TestContext) FinalDepsMutators(f RegisterMutatorFunc) { func (ctx *TestContext) OtherModuleProviderAdaptor() OtherModuleProviderContext { return NewOtherModuleProviderAdaptor(func(module blueprint.Module, provider blueprint.AnyProviderKey) (any, bool) { - return ctx.moduleProvider(module, provider) + return ctx.otherModuleProvider(module, provider) }) } |