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 | 69bfe08 | 2010-03-04 21:25:03 -0800 | [diff] [blame] | 12 | # TODO: Instead of keeping the following two functions we could as well just remove them completely |
| 13 | # as they are only used in test code |
| 14 | |
| 15 | -keep class com.android.contacts.model.EntityDelta { |
| 16 | public com.android.contacts.model.EntityDelta$ValuesDelta getSuperPrimaryEntry(java.lang.String,boolean); |
| 17 | } |
| 18 | |
| 19 | -keep class com.android.contacts.model.EntityDelta$ValuesDelta { |
| 20 | public android.content.ContentValues getAfter(); |
| 21 | } |
Daisuke Miyakawa | 6d4d66f | 2010-06-30 15:23:56 +0900 | [diff] [blame] | 22 | |
| 23 | # Any methods whose name is '*ForTest' are preserved. |
| 24 | -keep class ** { |
| 25 | *** *ForTest(...); |
Hugo Hudson | c2f09c3 | 2011-07-30 16:31:28 +0100 | [diff] [blame^] | 26 | } |