summaryrefslogtreecommitdiffstats
path: root/proguard.flags
blob: f17c20a1d41f386ae3407f5ce8951774fcd44b34 (plain)
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
# 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);
}

# Any class or method annotated with NeededForTesting or NeededForReflection.
-keep @com.android.contacts.common.testing.NeededForTesting class *
-keepclassmembers class * {
@com.android.contacts.common.testing.NeededForTesting *;
@com.android.dialer.NeededForReflection *;
}

# Keep ExtendedLookupDirectories for assets/contacts_extensions.properties
-keep class com.android.dialer.lookup.ExtendedLookupDirectories { *; }

# Keep behavior class needed by design library
-keep class android.support.design.widget.AppBarLayout$ScrollingViewBehavior { *; }

-verbose

-keep public class cyanogenmod.app.StatusBarPanelCustomTile
-keep public class cyanogenmod.app.CustomTile

-dontwarn cyanogenmod.app.*
-dontwarn com.squareup.okhttp.*