From 6d6d067c371874c98544e1e8f8d3bc65d4b0914b Mon Sep 17 00:00:00 2001 From: Jihoon Kang Date: Wed, 17 Apr 2024 18:19:14 +0000 Subject: [PATCH] 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 --- java/hiddenapi_modular.go | 10 ---------- 1 file changed, 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 -}