summaryrefslogtreecommitdiff
path: root/android/config.go
diff options
context:
space:
mode:
author Sorin Basca <sorinbasca@google.com> 2024-11-06 19:33:54 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-11-06 19:33:54 +0000
commit4432408c2fc74d684c8739f4b7a72674d1fb0ccc (patch)
tree0c2d10fc334ba3e9bb0422da81ad3a2161f377bb /android/config.go
parentb31472422a17e0ba0f878dca50f9b834e9f71426 (diff)
parent37cc2714c9150692f73153d5a92697d087acb4c6 (diff)
Merge "Target Java 21 by default" into main
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 275c07fc4..d9db64ef6 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