blob: 6eed9983d440e6f1c3380a28cbd60f2fa702a219 [file] [log] [blame]
Chiao Cheng94b10b52012-08-17 16:59:12 -07001# Xml files containing onClick (menus and layouts) require that proguard not
2# remove their handlers.
3-keepclassmembers class * extends android.app.Activity {
4 public void *(android.view.View);
5 public void *(android.view.MenuItem);
6}
7
Yorke Leed743fdd2015-10-28 16:14:47 -07008-keep class com.android.contacts.common.** { *;}
9
Chiao Cheng94b10b52012-08-17 16:59:12 -070010# Any class or method annotated with NeededForTesting or NeededForReflection.
Yorke Lee7d20f822014-06-19 17:09:33 -070011-keep @com.android.contacts.common.testing.NeededForTesting class *
Chiao Cheng94b10b52012-08-17 16:59:12 -070012-keepclassmembers class * {
Yorke Lee7d20f822014-06-19 17:09:33 -070013@com.android.contacts.common.testing.NeededForTesting *;
Yorke Leedfb2eee2013-06-26 18:24:32 -070014@com.android.dialer.NeededForReflection *;
Chiao Cheng94b10b52012-08-17 16:59:12 -070015}
16
Nancy Chenf3d9f822015-09-11 00:47:31 -040017# For design libraries
18-keep public class * extends android.support.design.widget.CoordinatorLayout$Behavior {
19 public <init>(android.content.Context, android.util.AttributeSet);
20}
21
Chiao Cheng94b10b52012-08-17 16:59:12 -070022-verbose