summaryrefslogtreecommitdiff
path: root/android/container.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2025-03-10 13:41:49 -0700
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-03-10 13:41:49 -0700
commita369dc00143821fa7784d1bfa9d2986186b23742 (patch)
tree39c1e14bbff8b6c1d28f7543880240809d61220c /android/container.go
parentcfbdb0cec0d89feccb3cd8231a4095f673f74b29 (diff)
parentef9e63e775493bd73cb28917ad59e6b10e5506b5 (diff)
Merge "Rename CommonModuleInfoKey to be consistent with others." into main
Diffstat (limited to 'android/container.go')
-rw-r--r--android/container.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/container.go b/android/container.go
index a5aab79bb..5d223b86a 100644
--- a/android/container.go
+++ b/android/container.go
@@ -39,7 +39,7 @@ type StubsAvailableModule interface {
// Returns true if the dependency module is a stubs module
var depIsStubsModule exceptionHandleFunc = func(mctx ModuleContext, _ Module, dep ModuleProxy) bool {
- return OtherModuleProviderOrDefault(mctx, dep, CommonModuleInfoKey).IsStubsModule
+ return OtherModuleProviderOrDefault(mctx, dep, CommonModuleInfoProvider).IsStubsModule
}
// Returns true if the dependency module belongs to any of the apexes.
@@ -474,7 +474,7 @@ func checkContainerViolations(ctx ModuleContext) {
if _, ok := ctx.Module().(InstallableModule); ok {
containersInfo, _ := getContainerModuleInfo(ctx, ctx.Module())
ctx.VisitDirectDepsProxy(func(dep ModuleProxy) {
- if !OtherModuleProviderOrDefault(ctx, dep, CommonModuleInfoKey).Enabled {
+ if !OtherModuleProviderOrDefault(ctx, dep, CommonModuleInfoProvider).Enabled {
return
}