blob: baff4b6b4a7d2c20dc4b00d4e2a370c4dba5e431 [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
Tingting Wang4a2abe92016-08-07 17:06:40 -070012-keep class com.google.android.libraries.material.featurehighlight.** { *;}
13
Walter Jangf2a7ca72015-11-11 13:46:32 -080014-keep class com.android.contacts.common.** { *;}
Tingting Wang9deead62016-03-28 10:08:08 -070015# For test:
16-keep class com.android.contacts.commonbind.analytics.AnalyticsUtil { *;}
17-keep class com.android.contacts.interactions.** { *;}
18-keep class com.google.common.base.Objects { *;}
19-keep class com.google.common.base.Preconditions { *;}
20-keep class com.google.common.collect.Lists { *;}
21-keep class com.google.common.collect.Maps { *;}
22-keep class com.google.common.collect.Sets { *;}
Walter Jangf2a7ca72015-11-11 13:46:32 -080023
Daniel Lehmann3a53c732012-05-17 19:18:58 -070024# Any class or method annotated with NeededForTesting or NeededForReflection.
Yorke Lee70396332014-05-28 12:16:35 -070025-keep @com.android.contacts.common.testing.NeededForTesting class *
Daniel Lehmann3a53c732012-05-17 19:18:58 -070026-keep @com.android.contacts.test.NeededForReflection class *
Flavio Lerda155c0702011-08-08 16:36:28 +010027-keepclassmembers class * {
Yorke Lee70396332014-05-28 12:16:35 -070028@com.android.contacts.common.testing.NeededForTesting *;
Daniel Lehmann3a53c732012-05-17 19:18:58 -070029@com.android.contacts.test.NeededForReflection *;
Flavio Lerda155c0702011-08-08 16:36:28 +010030}
Tingting Wang9deead62016-03-28 10:08:08 -070031# Keep classes and methods that have the guava @VisibleForTesting annotation
32-keep @com.google.common.annotations.VisibleForTesting class *
33-keepclassmembers class * {
34 @com.google.common.annotations.VisibleForTesting *;
35}
Makoto Onukia0290a42012-01-27 11:49:27 -080036
37-verbose