Merge "Prevent optimization of common code between framework/sysui" into tm-dev am: df11d2d50c

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

Change-Id: I2266929972ef621a86a035fd568242d00e39aee5
This commit is contained in:
TreeHugger Robot
2022-03-05 01:34:50 +00:00
committed by Automerger Merge Worker

View File

@@ -41,6 +41,14 @@
-keep,allowoptimization,allowaccessmodification class com.android.systemui.dagger.Dagger** { !synthetic *; }
-keep,allowoptimization,allowaccessmodification class com.android.systemui.tv.Dagger** { !synthetic *; }
# Prevent optimization or access modification of any referenced code that may
# conflict with code in the bootclasspath.
# TODO(b/222468116): Resolve such collisions in the build system.
-keepnames class android.**.nano.** { *; }
-keepnames class com.android.**.nano.** { *; }
-keepnames class com.android.internal.protolog.** { *; }
-keepnames class android.hardware.common.** { *; }
# Allows proguard to make private and protected methods and fields public as
# part of optimization. This lets proguard inline trivial getter/setter methods.
-allowaccessmodification