• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# 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-keep class com.android.contacts.common.** { *;}
9
10# Any class or method annotated with NeededForTesting or NeededForReflection.
11-keep @com.android.contacts.common.testing.NeededForTesting class *
12-keepclassmembers class * {
13@com.android.contacts.common.testing.NeededForTesting *;
14@com.android.dialer.NeededForReflection *;
15}
16
17# 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
22-verbose
23