summaryrefslogtreecommitdiff
path: root/android/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'android/config.go')
-rw-r--r--android/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/config.go b/android/config.go
index 16d77db6b..2a0d81045 100644
--- a/android/config.go
+++ b/android/config.go
@@ -867,7 +867,7 @@ func (c *config) IsEnvFalse(key string) bool {
}
func (c *config) TargetsJava21() bool {
- return c.IsEnvTrue("EXPERIMENTAL_TARGET_JAVA_VERSION_21")
+ return c.productVariables.GetBuildFlagBool("RELEASE_TARGET_JAVA_21")
}
// EnvDeps returns the environment variables this build depends on. The first