summaryrefslogtreecommitdiff
path: root/java/hiddenapi.go
diff options
context:
space:
mode:
author Pratyush <pratyushpks@google.com> 2023-07-20 11:19:04 +0000
committer Pratyush <pratyushpks@google.com> 2023-07-30 13:57:10 +0000
commitfaec4db56fdae6516cfc394c517b93b6e6ad4781 (patch)
tree9288c91dc328492861bdadbe8e0d9b8790684eb7 /java/hiddenapi.go
parent4c9b3e114b5f5fcd049f08578bc40c679a230080 (diff)
Disable Hidden API Checks for ENG Builds
For more discussions/details, please check internal CL ag/24145146 Bug: 289409213 BUg: 285976182 Test: Look for hiddenapi calls in build trace Change-Id: Ia2780ee419b8da1418ba1c7a7d732712b7c2a322
Diffstat (limited to 'java/hiddenapi.go')
-rw-r--r--java/hiddenapi.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/hiddenapi.go b/java/hiddenapi.go
index d25096b15..4d08b8307 100644
--- a/java/hiddenapi.go
+++ b/java/hiddenapi.go
@@ -106,7 +106,7 @@ func (h *hiddenAPI) initHiddenAPI(ctx android.ModuleContext, dexJar OptionalDexJ
h.uncompressDexState = uncompressedDexState
// If hiddenapi processing is disabled treat this as inactive.
- if ctx.Config().IsEnvTrue("UNSAFE_DISABLE_HIDDENAPI_FLAGS") {
+ if ctx.Config().DisableHiddenApiChecks() {
return
}