blob: d1a0057ee071707daed7a062a23b0ed611ab7f44 [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
8# Any class or method annotated with NeededForTesting or NeededForReflection.
Yorke Lee7d20f822014-06-19 17:09:33 -07009-keep @com.android.contacts.common.testing.NeededForTesting class *
Chiao Cheng94b10b52012-08-17 16:59:12 -070010-keepclassmembers class * {
Yorke Lee7d20f822014-06-19 17:09:33 -070011@com.android.contacts.common.testing.NeededForTesting *;
Yorke Leedfb2eee2013-06-26 18:24:32 -070012@com.android.dialer.NeededForReflection *;
Chiao Cheng94b10b52012-08-17 16:59:12 -070013}
14
Xiao-Long Chena3e67ac2014-11-12 17:01:47 -080015# Keep ExtendedLookupDirectories for assets/contacts_extensions.properties
16-keep class com.android.dialer.lookup.ExtendedLookupDirectories extends * {
17 *;
18}
19
Chiao Cheng94b10b52012-08-17 16:59:12 -070020-verbose