| # Keep classes and methods that have the guava @VisibleForTesting annotation |
| -keep @**.VisibleForTesting class * |
| -keepclassmembers class * { |
| @**.VisibleForTesting *; |
| } |
| -keep @**.NeededForTesting class * |
| -keepclassmembers class * { |
| @**.NeededForTesting *; |
| } |
| # TODO: remove this after call composer gets more integrated. |
| # for the time being, this is here so that the tests don't fail when encountering dead code. |
| -keep class com.android.phone.callcomposer.** { |
| *; |
| } |
| # Keep the FakeFeatureFlagsImpl |
| -keep class com.android.internal.telephony.flags.FakeFeatureFlagsImpl { *; } |
| -verbose |