blob: bad57a9dbdf19759e39070d5de653e516a380bda [file] [log] [blame]
Daniel Lehmann69bfe082010-03-04 21:25:03 -08001-keep class com.android.contacts.model.Sources {
2 public <init>(...);
3}
4
Hugo Hudsonc2f09c32011-07-30 16:31:28 +01005# Xml files containing onClick (menus and layouts) require that proguard not
6# remove their handlers.
7-keepclassmembers class * extends android.app.Activity {
8 public void *(android.view.View);
9 public void *(android.view.MenuItem);
10}
11
Walter Jangf2a7ca72015-11-11 13:46:32 -080012-keep class com.android.contacts.common.** { *;}
Tingting Wang9deead62016-03-28 10:08:08 -070013# For test:
14-keep class com.android.contacts.commonbind.analytics.AnalyticsUtil { *;}
15-keep class com.android.contacts.interactions.** { *;}
16-keep class com.google.common.base.Objects { *;}
17-keep class com.google.common.base.Preconditions { *;}
18-keep class com.google.common.collect.Lists { *;}
19-keep class com.google.common.collect.Maps { *;}
20-keep class com.google.common.collect.Sets { *;}
Walter Jangf2a7ca72015-11-11 13:46:32 -080021
Daniel Lehmann3a53c732012-05-17 19:18:58 -070022# Any class or method annotated with NeededForTesting or NeededForReflection.
Yorke Lee70396332014-05-28 12:16:35 -070023-keep @com.android.contacts.common.testing.NeededForTesting class *
Daniel Lehmann3a53c732012-05-17 19:18:58 -070024-keep @com.android.contacts.test.NeededForReflection class *
Flavio Lerda155c0702011-08-08 16:36:28 +010025-keepclassmembers class * {
Yorke Lee70396332014-05-28 12:16:35 -070026@com.android.contacts.common.testing.NeededForTesting *;
Daniel Lehmann3a53c732012-05-17 19:18:58 -070027@com.android.contacts.test.NeededForReflection *;
Flavio Lerda155c0702011-08-08 16:36:28 +010028}
Tingting Wang9deead62016-03-28 10:08:08 -070029# Keep classes and methods that have the guava @VisibleForTesting annotation
30-keep @com.google.common.annotations.VisibleForTesting class *
31-keepclassmembers class * {
32 @com.google.common.annotations.VisibleForTesting *;
33}
Makoto Onukia0290a42012-01-27 11:49:27 -080034
35-verbose