| # Xml files containing onClick (menus and layouts) require that proguard not |
| # remove their handlers. |
| -keepclassmembers class * extends android.app.Activity { |
| public void *(android.view.View); |
| public void *(android.view.MenuItem); |
| } |
| |
| # Any class or method annotated with NeededForTesting or NeededForReflection. |
| -keep @com.android.contacts.common.test.NeededForTesting class * |
| -keep @com.android.dialer.test.NeededForReflection class * |
| -keepclassmembers class * { |
| @com.android.contacts.common.test.NeededForTesting *; |
| @com.android.dialer.test.NeededForReflection *; |
| } |
| |
| -verbose |