blob: f4ec4b2ea0c2f897cbd167f079ab12318387bc14 [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}
Flavio Lerda155c0702011-08-08 16:36:28 +010027
28# Any class or method annotated with NeededForTesting.
29-keep @com.android.contacts.test.NeededForTesting class *
30-keepclassmembers class * {
31@com.android.contacts.test.NeededForTesting *;
32}