Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 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.test.NeededForTesting class * |
| 10 | -keep @com.android.contacts.test.NeededForReflection class * |
| 11 | -keepclassmembers class * { |
| 12 | @com.android.contacts.test.NeededForTesting *; |
| 13 | @com.android.contacts.test.NeededForReflection *; |
| 14 | } |
| 15 | |
| 16 | -verbose |