summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
author Serdar Kocdemir <kocdemir@google.com> 2023-12-01 15:39:47 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-12-01 15:39:47 +0000
commit3d11d51733497eac0cf25a4a3f2bfbbf7c62ad84 (patch)
tree10d8ecbbbc7222706fd6ac270562d50203b32911 /java
parent11d164a7af6fb56e4d26fefe88e6d2ed98b88b47 (diff)
parent0968a93679dbaa19d6cb425cba537ac883baee21 (diff)
Merge "Revert^3 "Enable dex container (DEX v41) for the whole system"" into main
Diffstat (limited to 'java')
-rw-r--r--java/dex.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/java/dex.go b/java/dex.go
index 91c245281..6f1c09d57 100644
--- a/java/dex.go
+++ b/java/dex.go
@@ -223,13 +223,6 @@ func (d *dexer) dexCommonFlags(ctx android.ModuleContext,
if err != nil {
ctx.PropertyErrorf("min_sdk_version", "%s", err)
}
- if effectiveVersion.FinalOrFutureInt() >= 35 {
- // V is 35, but we have not bumped the SDK version yet, so check for both.
- if ctx.Config().PlatformSdkVersion().FinalInt() >= 35 ||
- ctx.Config().PlatformSdkCodename() == "VanillaIceCream" {
- flags = append([]string{"-JDcom.android.tools.r8.dexContainerExperiment"}, flags...)
- }
- }
// If the specified SDK level is 10000, then configure the compiler to use the
// current platform SDK level and to compile the build as a platform build.