1# Xml files containing onClick (menus and layouts) require that proguard not 2# remove their handlers. 3-keepclassmembers class * extends android.app.Activity { 4 public void *(android.view.View); 5 public void *(android.view.MenuItem); 6} 7 8# Any class or method annotated with NeededForTesting or NeededForReflection. 9-keep @com.android.contacts.common.testing.NeededForTesting class * 10-keepclassmembers class * { 11@com.android.contacts.common.testing.NeededForTesting *; 12@com.android.dialer.NeededForReflection *; 13} 14 15-verbose 16