Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 070b0008 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Refine (optional) system_server Proguard config" am: e997efb8 am:...

Merge "Refine (optional) system_server Proguard config" am: e997efb8 am: db85028b am: 4481a840 am: 99b2c21d

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1922860

Change-Id: I349f4ff92940498fd28260fe81f8743a529d781e
parents 07ff4f66 99b2c21d
Loading
Loading
Loading
Loading
+12 −2
Original line number Diff line number Diff line
# TODO(b/196084106): Refine and optimize this configuration. Note that this
# configuration is only used when `SOONG_CONFIG_ANDROID_SYSTEM_OPTIMIZE_JAVA=true`.
-keep,allowoptimization,allowaccessmodification class ** {
  *;
  !synthetic *;
}

# Various classes subclassed in ethernet-service (avoid marking final).
@@ -9,3 +9,13 @@

# Referenced via CarServiceHelperService in car-frameworks-service (avoid removing).
-keep public class com.android.server.utils.Slogf { *; }

# Allows making private and protected methods/fields public as part of
# optimization. This enables inlining of trivial getter/setter methods.
-allowaccessmodification

# Disallow accessmodification for soundtrigger classes. Logging via reflective
# public member traversal can cause infinite loops. See b/210901706.
-keep,allowoptimization class com.android.server.soundtrigger_middleware.** {
  !synthetic *;
}