summaryrefslogtreecommitdiff
path: root/apex/apex.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2024-12-03 21:55:54 +0000
committer Yu Liu <yudiliu@google.com> 2024-12-03 21:55:54 +0000
commite47ba7b5afd2ce618609600ee870d3d15287b996 (patch)
tree4d56ed55af07720c744eaa6880609601c29de7b1 /apex/apex.go
parent63bdf6337384ea49838482d4cf879ac9a56f2862 (diff)
Change enforceAppUpdatability to use ModuleProxy.
Bug: 377723687 Test: Unit tests and compare the ninja and mk files generated. Change-Id: I9113916e2124bc22a3d492dbe092a60e8809ab99
Diffstat (limited to 'apex/apex.go')
-rw-r--r--apex/apex.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/apex/apex.go b/apex/apex.go
index 1a598e507..e14068939 100644
--- a/apex/apex.go
+++ b/apex/apex.go
@@ -2340,7 +2340,7 @@ func (a *apexBundle) enforceAppUpdatability(mctx android.ModuleContext) {
}
if a.Updatable() {
// checking direct deps is sufficient since apex->apk is a direct edge, even when inherited via apex_defaults
- mctx.VisitDirectDeps(func(module android.Module) {
+ mctx.VisitDirectDepsProxy(func(module android.ModuleProxy) {
if appInfo, ok := android.OtherModuleProvider(mctx, module, java.AppInfoProvider); ok {
// ignore android_test_app
if !appInfo.TestHelperApp && !appInfo.Updatable {