diff options
author | 2025-03-20 16:11:36 -0700 | |
---|---|---|
committer | 2025-03-20 16:11:36 -0700 | |
commit | 29e0a00b2a9010b7b30f004fb9f6a2ad7ea20bcb (patch) | |
tree | cb888af41cf7962e5243791334e27beb1d7007b0 /java/base.go | |
parent | 36e0719e9ef8f0969254c7fd7aac355288e8e63e (diff) | |
parent | 8c31132dba8e206387296ec2a9d850832794d9b4 (diff) |
Snap for 13248265 from 8c31132dba8e206387296ec2a9d850832794d9b4 to 25Q2-release
Change-Id: If932ac6e530acdff73391ec4a2b3afb3a7adc401
Diffstat (limited to 'java/base.go')
-rw-r--r-- | java/base.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/base.go b/java/base.go index 1a12075bc..8aa0109d0 100644 --- a/java/base.go +++ b/java/base.go @@ -1816,7 +1816,7 @@ func (j *Module) compile(ctx android.ModuleContext, extraSrcJars, extraClasspath classesJar: outputFile, jarName: jarName, } - if j.GetProfileGuided(ctx) && j.optimizeOrObfuscateEnabled() && !j.EnableProfileRewriting(ctx) { + if j.GetProfileGuided(ctx) && j.optimizeOrObfuscateEnabled(ctx) && !j.EnableProfileRewriting(ctx) { ctx.PropertyErrorf("enable_profile_rewriting", "Enable_profile_rewriting must be true when profile_guided dexpreopt and R8 optimization/obfuscation is turned on. The attached profile should be sourced from an unoptimized/unobfuscated APK.", ) |