summaryrefslogtreecommitdiff
path: root/java/hiddenapi_singleton.go
diff options
context:
space:
mode:
author Jihoon Kang <jihoonkang@google.com> 2024-05-06 22:40:22 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-05-06 22:40:22 +0000
commit8f25d296b57bbd7abebe274ce628663587861220 (patch)
tree7846cf04577b37212ec87adb30455ff87cc74878 /java/hiddenapi_singleton.go
parentd831af426762a24794f3420ba00eb1b388cea221 (diff)
Revert "Remove compilation actions from java sdk library"
Revert submission 3070882-sdk_lib_remove_compilation Reason for revert: Potential culprit for build breakage of barbet-ap2a-userdebug in git_main Reverted changes: /q/submissionid:3070882-sdk_lib_remove_compilation Change-Id: I5135760e13e0152480c68fe91a3c88564e9bc7cb
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 {