blob: 5a08b9f2c846a9535e2f8decbf698358a2b94381 [file] [log] [blame]
Daniel Lehmann69bfe082010-03-04 21:25:03 -08001-keep class com.android.contacts.model.Sources {
2 public <init>(...);
3}
4
Hugo Hudsonc2f09c32011-07-30 16:31:28 +01005# 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 Lehmann69bfe082010-03-04 21:25:03 -080012# 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 Miyakawa6d4d66f2010-06-30 15:23:56 +090022
23# Any methods whose name is '*ForTest' are preserved.
24-keep class ** {
25 *** *ForTest(...);
Hugo Hudsonc2f09c32011-07-30 16:31:28 +010026}