From 8f25d296b57bbd7abebe274ce628663587861220 Mon Sep 17 00:00:00 2001 From: Jihoon Kang Date: Mon, 6 May 2024 22:40:22 +0000 Subject: 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 --- java/hiddenapi_singleton.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'java/hiddenapi_singleton.go') 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 { -- cgit v1.2.3-59-g8ed1b