diff options
author | 2024-10-16 10:25:36 +0100 | |
---|---|---|
committer | 2024-11-05 11:08:34 +0000 | |
commit | 37cc2714c9150692f73153d5a92697d087acb4c6 (patch) | |
tree | 3eb793a9540171ec49dd5f624359b8a1ef26afe0 /android/config.go | |
parent | f69bffbc814584fe0d5bb0894669a0234fca2d38 (diff) |
Target Java 21 by default
Bug: 342332820
Test: TH
Change-Id: I3d440c79231cc470013610c8b3ec95a0b4a0cb6a
Diffstat (limited to 'android/config.go')
-rw-r--r-- | android/config.go | 2 |
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 |