-
Notifications
You must be signed in to change notification settings - Fork 3
/
proguard.flags
32 lines (26 loc) · 1018 Bytes
/
proguard.flags
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
-keep class com.android.contacts.model.Sources {
public <init>(...);
}
# Xml files containing onClick (menus and layouts) require that proguard not
# remove their handlers.
-keepclassmembers class * extends android.app.Activity {
public void *(android.view.View);
public void *(android.view.MenuItem);
}
# TODO: Instead of keeping the following two functions we could as well just remove them completely
# as they are only used in test code
-keep class com.android.contacts.model.EntityDelta {
public com.android.contacts.model.EntityDelta$ValuesDelta getSuperPrimaryEntry(java.lang.String,boolean);
}
-keep class com.android.contacts.model.EntityDelta$ValuesDelta {
public android.content.ContentValues getAfter();
}
# Any methods whose name is '*ForTest' are preserved.
-keep class ** {
*** *ForTest(...);
}
# Any class or method annotated with NeededForTesting.
-keep @com.android.contacts.test.NeededForTesting class *
-keepclassmembers class * {
@com.android.contacts.test.NeededForTesting *;
}