Hai Zhang | 3070d7c | 2022-11-11 21:48:44 -0800 | [diff] [blame] | 1 | # Only shrink services.permission classes. |
| 2 | # Note that while more aggressive services shrinking is enabled by default (see proguard.flags), for |
| 3 | # cases where that's not yet possible, we still need to shrink the permission package to prune out |
| 4 | # unused Kotlin stdlib dependencies. |
| 5 | -keep class !com.android.server.permission.** { *; } |
| 6 | |
| 7 | # CoverageService guards optional jacoco class references with a runtime guard, so we can safely |
| 8 | # suppress build-time warnings. |
| 9 | -dontwarn org.jacoco.agent.rt.* |