summaryrefslogtreecommitdiff
path: root/apex/apex.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2024-12-03 23:09:17 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-12-03 23:09:17 +0000
commit7bc5be9e10f236dbe9d6029ba6b922a8d62683e9 (patch)
tree8256ee150621f1fcad72971fef4099c75fca103b /apex/apex.go
parentdf3543cf1df40cb8352b3323be3c3b8de64306d4 (diff)
parente47ba7b5afd2ce618609600ee870d3d15287b996 (diff)
Merge "Change enforceAppUpdatability to use ModuleProxy." into main
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 {