summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
authorUlyana Trafimovich <skvadrik@google.com>2021-01-08 17:00:56 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-01-08 17:00:56 +0000
commit53230fefa3ab51f9b66fdea34bbd4dcd68b35b53 (patch)
tree20b404e9bed55ecc7dd807305fc59c9c36251d24 /java/java.go
parent65f7312db00d66e35eb48c9335ca81ffbf5aecc1 (diff)
parent7bc1cf508f8d730c852736ab77470a7be9af9988 (diff)
Merge "Remove obsolete class loader context API and update unit tests."
Diffstat (limited to 'java/java.go')
-rw-r--r--java/java.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/java.go b/java/java.go
index 82b53be1d..f684a00e7 100644
--- a/java/java.go
+++ b/java/java.go
@@ -3305,7 +3305,7 @@ func addCLCFromDep(ctx android.ModuleContext, depModule android.Module,
}
if implicitSdkLib != nil {
- clcMap.AddContextForSdk(ctx, dexpreopt.AnySdkVersion, *implicitSdkLib,
+ clcMap.AddContext(ctx, dexpreopt.AnySdkVersion, *implicitSdkLib,
dep.DexJarBuildPath(), dep.DexJarInstallPath(), dep.ClassLoaderContexts())
} else {
depName := ctx.OtherModuleName(depModule)