summaryrefslogtreecommitdiff
path: root/android/provider.go
diff options
context:
space:
mode:
Diffstat (limited to 'android/provider.go')
-rw-r--r--android/provider.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/provider.go b/android/provider.go
index 5ded4cc14..81d17a175 100644
--- a/android/provider.go
+++ b/android/provider.go
@@ -24,7 +24,7 @@ var _ OtherModuleProviderContext = (*TestContext)(nil)
// OtherModuleProviderContext is a helper interface that accepts ModuleContext, BottomUpMutatorContext, or
// TopDownMutatorContext.
func OtherModuleProvider[K any](ctx OtherModuleProviderContext, module blueprint.Module, provider blueprint.ProviderKey[K]) (K, bool) {
- value, ok := ctx.otherModuleProvider(module, provider)
+ value, ok := ctx.otherModuleProvider(getWrappedModule(module), provider)
if !ok {
var k K
return k, false