summaryrefslogtreecommitdiff
path: root/java/hiddenapi_singleton.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2021-05-13 10:53:51 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2021-05-13 10:53:51 +0000
commitcfd24da1f430452d8b134fd8fb18a44f4e3f796d (patch)
tree3038e2257a6f18836f0186c8cf972cce4536e33a /java/hiddenapi_singleton.go
parent1d35a87072e81a6cd72e369e7646a41420f28d5c (diff)
parent7ebebfd5f80fc4a8f0f6e22253b9602802ebd88b (diff)
Merge "Move copying of dex files from dexpreopt_bootjars singleton"
Diffstat (limited to 'java/hiddenapi_singleton.go')
-rw-r--r--java/hiddenapi_singleton.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/java/hiddenapi_singleton.go b/java/hiddenapi_singleton.go
index f6af50132..676a0e722 100644
--- a/java/hiddenapi_singleton.go
+++ b/java/hiddenapi_singleton.go
@@ -151,9 +151,7 @@ func (h *hiddenAPISingleton) GenerateBuildActions(ctx android.SingletonContext)
// Checks to see whether the supplied module variant is in the list of boot jars.
//
-// Apart from the context this is identical to isModuleInConfiguredListForSingleton.
-//
-// TODO(b/179354495): Avoid having to perform this type of check or if necessary dedup it.
+// TODO(b/179354495): Avoid having to perform this type of check.
func isModuleInConfiguredList(ctx android.BaseModuleContext, module android.Module, configuredBootJars android.ConfiguredJarList) bool {
name := ctx.OtherModuleName(module)