summaryrefslogtreecommitdiff
path: root/java/hiddenapi_modular.go
diff options
context:
space:
mode:
author Jihoon Kang <jihoonkang@google.com> 2024-04-17 18:19:14 +0000
committer Jihoon Kang <jihoonkang@google.com> 2024-04-17 18:19:14 +0000
commit6d6d067c371874c98544e1e8f8d3bc65d4b0914b (patch)
treed56d782a2dd8df76cd942208b593cb4e681901b2 /java/hiddenapi_modular.go
parent935b4db4cba317084e23e7b66c752370fa7391e7 (diff)
Remove extractEncodedDexJarsFromModules
The usages of this function have been removed with https://r.android.com/2816477 and https://r.android.com/2816578, and this function is currently unused. Test: Presubmits Change-Id: Ic1ae71ade16b930b777fa251febc4d071c0dd65e
Diffstat (limited to 'java/hiddenapi_modular.go')
-rw-r--r--java/hiddenapi_modular.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/java/hiddenapi_modular.go b/java/hiddenapi_modular.go
index e4beb5e55..ae587eac3 100644
--- a/java/hiddenapi_modular.go
+++ b/java/hiddenapi_modular.go
@@ -1478,13 +1478,3 @@ func retrieveEncodedBootDexJarFromModule(ctx android.ModuleContext, module andro
}
return bootDexJar.Path()
}
-
-// extractEncodedDexJarsFromModules extracts the encoded dex jars from the supplied modules.
-func extractEncodedDexJarsFromModules(ctx android.ModuleContext, contents []android.Module) bootDexJarByModule {
- encodedDexJarsByModuleName := bootDexJarByModule{}
- for _, module := range contents {
- path := retrieveEncodedBootDexJarFromModule(ctx, module)
- encodedDexJarsByModuleName.addPath(module, path)
- }
- return encodedDexJarsByModuleName
-}