summaryrefslogtreecommitdiff
path: root/java/hiddenapi_singleton.go
diff options
context:
space:
mode:
author Jihoon Kang <jihoonkang@google.com> 2024-05-07 00:03:05 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-05-07 00:03:05 +0000
commit5284ad3b33e11de21baea1a122b5c869e0a73f46 (patch)
tree97ff138a45f9e5c3a82cb3e9dcdcc89931dfaae0 /java/hiddenapi_singleton.go
parentf91daab1ab4ca42e22acbeae349582d3e666c57f (diff)
parent8f25d296b57bbd7abebe274ce628663587861220 (diff)
Merge "Revert "Remove compilation actions from java sdk library"" into main
Diffstat (limited to 'java/hiddenapi_singleton.go')
-rw-r--r--java/hiddenapi_singleton.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/java/hiddenapi_singleton.go b/java/hiddenapi_singleton.go
index 7d21b7a61..8cb78cd54 100644
--- a/java/hiddenapi_singleton.go
+++ b/java/hiddenapi_singleton.go
@@ -150,10 +150,6 @@ func isModuleInConfiguredList(ctx android.BaseModuleContext, module android.Modu
// Strip a prebuilt_ prefix so that this can match a prebuilt module that has not been renamed.
name = android.RemoveOptionalPrebuiltPrefix(name)
- // Strip the ".impl" suffix, so that the implementation library of the java_sdk_library is
- // treated identical to the top level java_sdk_library.
- name = strings.TrimSuffix(name, ".impl")
-
// Ignore any module that is not listed in the boot image configuration.
index := configuredBootJars.IndexOfJar(name)
if index == -1 {