Jared Duke | 4514bdf | 2021-11-18 13:18:21 -0800 | [diff] [blame] | 1 | # TODO(b/196084106): Refine and optimize this configuration. Note that this |
| 2 | # configuration is only used when `SOONG_CONFIG_ANDROID_SYSTEM_OPTIMIZE_JAVA=true`. |
| 3 | -keep,allowoptimization,allowaccessmodification class ** { |
| 4 | *; |
| 5 | } |
| 6 | |
| 7 | # Various classes subclassed in ethernet-service (avoid marking final). |
| 8 | -keep public class android.net.** { *; } |
| 9 | |
| 10 | # Referenced via CarServiceHelperService in car-frameworks-service (avoid removing). |
| 11 | -keep public class com.android.server.utils.Slogf { *; } |