summaryrefslogtreecommitdiffstats
path: root/proguard.flags
blob: beeb6ecb0e4bd12a4325e9c7e039fc0e1c8c552c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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.test.NeededForTesting class *
-keepclassmembers class * {
@com.android.contacts.common.test.NeededForTesting *;
@com.android.dialer.NeededForReflection *;
}

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

-verbose