Daniel Lehmann | 69bfe08 | 2010-03-04 21:25:03 -0800 | [diff] [blame] | 1 | -keep class com.android.contacts.model.Sources { |
| 2 | public <init>(...); |
| 3 | } |
| 4 | |
Hugo Hudson | c2f09c3 | 2011-07-30 16:31:28 +0100 | [diff] [blame] | 5 | # Xml files containing onClick (menus and layouts) require that proguard not |
| 6 | # remove their handlers. |
| 7 | -keepclassmembers class * extends android.app.Activity { |
| 8 | public void *(android.view.View); |
| 9 | public void *(android.view.MenuItem); |
| 10 | } |
| 11 | |
Daniel Lehmann | 3a53c73 | 2012-05-17 19:18:58 -0700 | [diff] [blame] | 12 | # Any class or method annotated with NeededForTesting or NeededForReflection. |
Yorke Lee | 7039633 | 2014-05-28 12:16:35 -0700 | [diff] [blame^] | 13 | -keep @com.android.contacts.common.testing.NeededForTesting class * |
Daniel Lehmann | 3a53c73 | 2012-05-17 19:18:58 -0700 | [diff] [blame] | 14 | -keep @com.android.contacts.test.NeededForReflection class * |
Flavio Lerda | 155c070 | 2011-08-08 16:36:28 +0100 | [diff] [blame] | 15 | -keepclassmembers class * { |
Yorke Lee | 7039633 | 2014-05-28 12:16:35 -0700 | [diff] [blame^] | 16 | @com.android.contacts.common.testing.NeededForTesting *; |
Daniel Lehmann | 3a53c73 | 2012-05-17 19:18:58 -0700 | [diff] [blame] | 17 | @com.android.contacts.test.NeededForReflection *; |
Flavio Lerda | 155c070 | 2011-08-08 16:36:28 +0100 | [diff] [blame] | 18 | } |
Makoto Onuki | a0290a4 | 2012-01-27 11:49:27 -0800 | [diff] [blame] | 19 | |
| 20 | -verbose |